[otrs-cvs] otrs/Kernel/System PDF.pm,1.22,1.23
cvs-log at otrs.org
cvs-log at otrs.org
Wed Apr 4 07:46:44 GMT 2007
Comments:
Update of /home/cvs/otrs/Kernel/System
In directory lancelot:/tmp/cvs-serv11749/Kernel/System
Modified Files:
PDF.pm
Log Message:
Add loop protection to Table().
Author: mh
Index: PDF.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/PDF.pm,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** PDF.pm 20 Jan 2007 23:11:34 -0000 1.22
--- PDF.pm 4 Apr 2007 07:46:39 -0000 1.23
***************
*** 694,697 ****
--- 694,698 ----
if (!defined ($Param{$_})) {
$Self->{LogObject}->Log(Priority => 'error', Message => "Need $_!");
+ $Param{State} = 1;
return;
}
***************
*** 699,706 ****
--- 700,709 ----
if (!$Self->{PDF}) {
$Self->{LogObject}->Log(Priority => 'error', Message => "Need a PDF Document!");
+ $Param{State} = 1;
return;
}
if (!$Self->{Page}) {
$Self->{LogObject}->Log(Priority => 'error', Message => "Need a Page!");
+ $Param{State} = 1;
return;
}
***************
*** 3359,3361 ****
$Revision$ $Date$
! =cut
\ No newline at end of file
--- 3362,3364 ----
$Revision$ $Date$
! =cut
More information about the cvs-log
mailing list