[otrs-cvs] ITSMChangeManagement/Kernel/System/ITSMChange Template.pm, 1.60, 1.61

"CVS commits notifications of OTRS.org" <[email protected]> Mon, 22 Apr 2013 20:31:39 +0000
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/ITSMChangeManagement/Kernel/System/ITSMChange
In directory lancelot:/tmp/cvs-serv24746/Kernel/System/ITSMChange

Modified Files:
	Template.pm 
Log Message:
Improved error handling when creating a change from a template.

Author: ub

Index: Template.pm
===================================================================
RCS file: /home/cvs/ITSMChangeManagement/Kernel/System/ITSMChange/Template.pm,v
retrieving revision 1.60
retrieving revision 1.61
diff -2 -u -d -r1.60 -r1.61
--- Template.pm	2 Apr 2012 15:56:21 -0000	1.60
+++ Template.pm	22 Apr 2013 20:31:34 -0000	1.61
@@ -1,5 +1,5 @@
 # --
 # Kernel/System/ITSMChange/Template.pm - all template functions
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
 # --
 # $Id$
@@ -1272,4 +1272,6 @@
     );
 
+    return if !%ParentReturn;
+
     my %SiblingsInfo;
 
---------------------------------------------------------------------
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