[otrs-cvs] ITSMConfigurationManagement/Kernel/System/ITSMConfigItem History.pm, 1.10, 1.11
"CVS commits notifications of OTRS.org" <[email protected]>
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/ITSMConfigurationManagement/Kernel/System/ITSMConfigItem
In directory lancelot:/tmp/cvs-serv27148/Kernel/System/ITSMConfigItem
Modified Files:
History.pm
Log Message:
Small Code Improvement.
Author: ub
Index: History.pm
===================================================================
RCS file: /home/cvs/ITSMConfigurationManagement/Kernel/System/ITSMConfigItem/History.pm,v
retrieving revision 1.10
retrieving revision 1.11
diff -2 -u -d -r1.10 -r1.11
--- History.pm 27 Sep 2011 07:00:59 -0000 1.10
+++ History.pm 20 Dec 2012 10:09:57 -0000 1.11
@@ -1,5 +1,5 @@
# --
# Kernel/System/ITSMConfigItem/History.pm - module for ITSMConfigItem.pm with history functions
-# Copyright (C) 2001-2011 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
# --
# $Id$
@@ -270,9 +270,12 @@
}
- # check if given config item id points to an existing config item id
+ # check if given config item id points to an existing config item number
if ( $Param{ConfigItemID} ) {
- my $Id = $Self->ConfigItemLookup( ConfigItemID => $Param{ConfigItemID} );
- if ( !$Id ) {
+ my $Number = $Self->ConfigItemLookup(
+ ConfigItemID => $Param{ConfigItemID},
+ );
+
+ if ( !$Number ) {
$Self->{LogObject}->Log(
Priority => 'error',
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log