[otrs-cvs] SystemMonitoring/Kernel/System/PostMaster/Filter SystemMonitoring.pm, 1.17, 1.18

"CVS commits notifications of OTRS.org" <[email protected]> Tue, 28 May 2013 12:01:07 +0000
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/SystemMonitoring/Kernel/System/PostMaster/Filter
In directory lancelot:/tmp/cvs-serv14778/Kernel/System/PostMaster/Filter

Modified Files:
	SystemMonitoring.pm 
Log Message:
Added documentation for missnaming of dynamic fields and error messages for missnamed dynamic fields.

Author: rs

Index: SystemMonitoring.pm
===================================================================
RCS file: /home/cvs/SystemMonitoring/Kernel/System/PostMaster/Filter/SystemMonitoring.pm,v
retrieving revision 1.17
retrieving revision 1.18
diff -2 -u -d -r1.17 -r1.18
--- SystemMonitoring.pm	28 May 2013 09:34:35 -0000	1.17
+++ SystemMonitoring.pm	28 May 2013 12:01:02 -0000	1.18
@@ -339,6 +339,6 @@
 
     # get the first and only ticket id
-    my $TicketID = ();
-    if ( !$Errors ) {
+    my $TicketID;
+    if ( !$Errors && @TicketIDs ) {
         $TicketID = shift @TicketIDs;
     }
---------------------------------------------------------------------
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