[Rt-commit] r12610 - in rt/branches/3.8-TESTING: lib/RT/Interface/Web/QueryBuilder

alexmv at bestpractical.com alexmv at bestpractical.com
Wed May 21 15:25:47 EDT 2008


Author: alexmv
Date: Wed May 21 15:25:41 2008
New Revision: 12610

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/lib/RT/Interface/Web/QueryBuilder/Tree.pm

Log:
 r32058 at kohr-ah:  chmrr | 2008-05-21 15:25:23 -0400
  * Use the right replacement method for loc


Modified: rt/branches/3.8-TESTING/lib/RT/Interface/Web/QueryBuilder/Tree.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Interface/Web/QueryBuilder/Tree.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Interface/Web/QueryBuilder/Tree.pm	Wed May 21 15:25:41 2008
@@ -263,7 +263,7 @@
             $key =~ s/^[^.]+/ $lcfield{ lc $main_key } /e;
         }
         unless( $class ) {
-            push @results, [ $args{'CurrentUser'}->loc("Unknown field: %1", $key), -1 ]
+            push @results, [ $args{'CurrentUser'}->loc("Unknown field: [_1]", $key), -1 ]
         }
 
         $value = "'$value'" if $value =~ /[^0-9]/;


More information about the Rt-commit mailing list