[otrs-cvs] FAQ/Kernel/System FAQ.pm,1.9,1.10
cvs-log at otrs.org
cvs-log at otrs.org
Wed Jul 4 09:36:49 GMT 2007
Comments:
Update of /home/cvs/FAQ/Kernel/System
In directory lancelot:/tmp/cvs-serv19158/Kernel/System
Modified Files:
FAQ.pm
Log Message:
Fixed utf8 bug in attachment get functions.
Author: rk
Index: FAQ.pm
===================================================================
RCS file: /home/cvs/FAQ/Kernel/System/FAQ.pm,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** FAQ.pm 3 Jul 2007 14:24:03 -0000 1.9
--- FAQ.pm 4 Jul 2007 09:36:44 -0000 1.10
***************
*** 181,185 ****
$SQL = "SELECT filename, content_type, content_size, content ".
" FROM faq_attachment WHERE faq_id = $Param{ItemID}";
! $Self->{DBObject}->Prepare(SQL => $SQL);
while (my @Row = $Self->{DBObject}->FetchrowArray()) {
# decode attachment if it's a postgresql backend and not BLOB
--- 181,185 ----
$SQL = "SELECT filename, content_type, content_size, content ".
" FROM faq_attachment WHERE faq_id = $Param{ItemID}";
! $Self->{DBObject}->Prepare(SQL => $SQL, Encode => [1,0]);
while (my @Row = $Self->{DBObject}->FetchrowArray()) {
# decode attachment if it's a postgresql backend and not BLOB
More information about the cvs-log
mailing list