[Rt-commit] rt branch, master, updated. rt-4.2.12-350-g0c05f5a

Shawn Moore shawn at bestpractical.com
Wed Oct 28 17:32:08 EDT 2015


The branch, master has been updated
       via  0c05f5ad5b8ec27ef531699247fc3548039f92c5 (commit)
      from  b999e40e1dff508a01e146e88baa042459c6437d (commit)

Summary of changes:
 lib/RT/SearchBuilder.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit 0c05f5ad5b8ec27ef531699247fc3548039f92c5
Author: Shawn M Moore <shawn at bestpractical.com>
Date:   Wed Oct 28 21:31:38 2015 +0000

    Fix syntax error introduced in previous commit

diff --git a/lib/RT/SearchBuilder.pm b/lib/RT/SearchBuilder.pm
index 3065082..88d5a5c 100644
--- a/lib/RT/SearchBuilder.pm
+++ b/lib/RT/SearchBuilder.pm
@@ -910,7 +910,7 @@ sub Limit {
         : $self->Table
     ;
 
-    if ( $table and $ARGS{FIELD} and my $instead = $deprecated{ lc $table }{ lc
+    if ( $table and $ARGS{FIELD} and my $instead = $deprecated{ lc $table }{ lc $ARGS{'FIELD'} } ) {
         RT->Deprecated(
             Message => "$table.$ARGS{'FIELD'} column is deprecated",
             Instead => $instead, Remove => '4.6'

-----------------------------------------------------------------------


More information about the rt-commit mailing list