[otrs-cvs] CVS: otrs/Kernel/Modules AgentLookup.pm,1.6,1.6.2.1
cvs-log at otrs.org
cvs-log at otrs.org
Tue May 9 17:53:49 CEST 2006
Update of /home/cvs/otrs/Kernel/Modules
In directory lancelot:/tmp/cvs-serv4314/Kernel/Modules
Modified Files:
Tag: rel-2_0
AgentLookup.pm
Log Message:
changed DBI:error into Fatalerror
Index: AgentLookup.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AgentLookup.pm,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -C2 -r1.6 -r1.6.2.1
*** AgentLookup.pm 27 Mar 2005 11:52:22 -0000 1.6
--- AgentLookup.pm 9 May 2006 14:53:46 -0000 1.6.2.1
***************
*** 1,5 ****
# --
# Kernel/Modules/AgentLookup.pm - a generic lookup module
! # Copyright (C) 2001-2005 Martin Edenhofer <martin+code at otrs.org>
# --
# $Id$
--- 1,5 ----
# --
# Kernel/Modules/AgentLookup.pm - a generic lookup module
! # Copyright (C) 2001-2006 Martin Edenhofer <martin+code at otrs.org>
# --
# $Id$
***************
*** 85,89 ****
DatabaseUser => $Self->{Map}->{$Param{Source}}->{Params}->{User},
DatabasePw => $Self->{Map}->{$Param{Source}}->{Params}->{Password},
! ) || die $DBI::errstr;
# remember that we have the DBObject not from parent call
$Self->{NotParentDBObject} = 1;
--- 85,92 ----
DatabaseUser => $Self->{Map}->{$Param{Source}}->{Params}->{User},
DatabasePw => $Self->{Map}->{$Param{Source}}->{Params}->{Password},
! );
! if (!$Self->{DBObject}) {
! $Self->{LayoutObject}->FatalError();
! }
# remember that we have the DBObject not from parent call
$Self->{NotParentDBObject} = 1;
More information about the cvs-log
mailing list