[otrs-cvs] FAQ/Kernel/System FAQ.pm,1.8,1.9
cvs-log at otrs.org
cvs-log at otrs.org
Tue Jul 3 14:24:08 GMT 2007
Comments:
Update of /home/cvs/FAQ/Kernel/System
In directory lancelot:/tmp/cvs-serv27496/Kernel/System
Modified Files:
FAQ.pm
Log Message:
Fixed perl and html code style bugs.
Author: rk
Index: FAQ.pm
===================================================================
RCS file: /home/cvs/FAQ/Kernel/System/FAQ.pm,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** FAQ.pm 25 Jan 2007 15:21:47 -0000 1.8
--- FAQ.pm 3 Jul 2007 14:24:03 -0000 1.9
***************
*** 40,61 ****
create a faq object
! use Kernel::Config;
! use Kernel::System::Log;
! use Kernel::System::DB;
! use Kernel::System::FAQ;
! my $ConfigObject = Kernel::Config->new();
! my $LogObject = Kernel::System::Log->new(
! ConfigObject => $ConfigObject,
[...1637 lines suppressed...]
$SQL = "SELECT distinct(faq_item.category_id) FROM faq_item ".
! "LEFT JOIN faq_category ON faq_item.category_id = faq_category.id ".
! "WHERE faq_category.valid_id = 1 AND faq_item.state_id = $State";
if (defined($Param{ParentID})) {
$SQL .= " AND faq_category.parent_id = ".$Self->{DBObject}->Quote($Param{ParentID}, 'Integer');
--- 2412,2417 ----
# get category ids
$SQL = "SELECT distinct(faq_item.category_id) FROM faq_item ".
! "LEFT JOIN faq_category ON faq_item.category_id = faq_category.id ".
! "WHERE faq_category.valid_id = 1 AND faq_item.state_id = $State";
if (defined($Param{ParentID})) {
$SQL .= " AND faq_category.parent_id = ".$Self->{DBObject}->Quote($Param{ParentID}, 'Integer');
***************
*** 2435,2438 ****
--- 2428,2432 ----
1;
+ =back
=head1 TERMS AND CONDITIONS
More information about the cvs-log
mailing list