[Rt-commit] r8302 - rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Interface

ruz at bestpractical.com ruz at bestpractical.com
Thu Jul 26 17:24:22 EDT 2007


Author: ruz
Date: Thu Jul 26 17:24:22 2007
New Revision: 8302

Modified:
   rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Interface/Web.pm

Log:
* minor

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Interface/Web.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Interface/Web.pm	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Interface/Web.pm	Thu Jul 26 17:24:22 2007
@@ -417,7 +417,7 @@
             } else {
                 @values = split /\r*\n/, $ARGS{ $arg } || '';
             }
-            @values = grep $_ ne '',
+            @values = grep length,
                 map {
                     s/\r+\n/\n/g;
                     s/^\s+//;
@@ -1278,7 +1278,7 @@
             @values = split /\r*\n/, $args{'ARGS'}->{ $arg }
                 if defined $args{'ARGS'}->{ $arg };
         }
-        @values = grep $_ ne '',
+        @values = grep length,
             map {
                 s/\r+\n/\n/g;
                 s/^\s+//;


More information about the Rt-commit mailing list