[Rt-commit] r5053 - in rt/branches/3.7-EXPERIMENTAL: .

ruz at bestpractical.com ruz at bestpractical.com
Wed Apr 19 22:11:57 EDT 2006


Author: ruz
Date: Wed Apr 19 22:11:56 2006
New Revision: 5053

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

Log:
 r2415 at cubic-pc:  cubic | 2006-04-20 05:35:00 +0400
 * run loc on current user


Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Web/QueryBuilder/Tree.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Web/QueryBuilder/Tree.pm	(original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Web/QueryBuilder/Tree.pm	Wed Apr 19 22:11:56 2006
@@ -258,7 +258,7 @@
             $class = $field{$key}->[0];
         }
         unless( $class ) {
-            push @results, [ loc("Unknown field: $key"), -1 ]
+            push @results, [ $args{'CurrentUser'}->loc("Unknown field: $key"), -1 ]
         }
 
         $value = "'$value'" if $value =~ /[^0-9]/;


More information about the Rt-commit mailing list