[otrs-cvs] CVS: FAQ/Kernel/Modules AgentFAQ.pm,1.4,1.5
cvs-log at otrs.org
cvs-log at otrs.org
Wed Oct 4 12:14:51 CEST 2006
Update of /home/cvs/FAQ/Kernel/Modules
In directory lancelot:/tmp/cvs-serv4512/Kernel/Modules
Modified Files:
AgentFAQ.pm
Log Message:
fixed unitialized value bug
Index: AgentFAQ.pm
===================================================================
RCS file: /home/cvs/FAQ/Kernel/Modules/AgentFAQ.pm,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** AgentFAQ.pm 2 Oct 2006 14:41:06 -0000 1.4
--- AgentFAQ.pm 4 Oct 2006 09:14:49 -0000 1.5
***************
*** 552,555 ****
--- 552,558 ----
if ($ItemID) {
+ if (!defined($ParamData{ItemID}) && !$ParamData{ItemID}) {
+ $ParamData{ItemID} = '';
+ }
return $Self->{LayoutObject}->Redirect(OP => "Action=$Self->{Action}&Subaction=View&ItemID=$ParamData{ItemID}");
}
More information about the cvs-log
mailing list