[otrs-cvs] otrs/Kernel/System/ProcessManagement Transition.pm, 1.8, 1.9

"CVS commits notifications of OTRS.org" <[email protected]>
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/otrs/Kernel/System/ProcessManagement
In directory lancelot:/tmp/cvs-serv30055/Kernel/System/ProcessManagement

Modified Files:
	Transition.pm 
Log Message:
Code cleanup.

Author: cr

Index: Transition.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/ProcessManagement/Transition.pm,v
retrieving revision 1.8
retrieving revision 1.9
diff -2 -u -d -r1.8 -r1.9
--- Transition.pm	11 Jan 2013 18:15:29 -0000	1.8
+++ Transition.pm	11 Jan 2013 18:51:08 -0000	1.9
@@ -525,7 +525,6 @@
                         my $Match = $ActualCondition->{Fields}{$Field}{Match};
 
-                        # check for Regexp validity
                         eval {
-                            qr{$Match};
+                            $ActualCondition->{Fields}{$Field}{Match} = qr{$Match};
                         };
                         if ($@) {
@@ -535,8 +534,5 @@
                             );
                             return;
-
                         }
-
-                        $ActualCondition->{Fields}{$Field}{Match} = qr{$Match};
                     }
 
---------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.