[Rt-commit] r5857 - rt/branches/3.4-RELEASE/lib/RT

ruz at bestpractical.com ruz at bestpractical.com
Mon Sep 4 15:30:28 EDT 2006


Author: ruz
Date: Mon Sep  4 15:30:28 2006
New Revision: 5857

Modified:
   rt/branches/3.4-RELEASE/lib/RT/Record.pm

Log:
* redo search if we have deleted entries in collection

Modified: rt/branches/3.4-RELEASE/lib/RT/Record.pm
==============================================================================
--- rt/branches/3.4-RELEASE/lib/RT/Record.pm	(original)
+++ rt/branches/3.4-RELEASE/lib/RT/Record.pm	Mon Sep  4 15:30:28 2006
@@ -1637,10 +1637,11 @@
                       );
                 }
             }
+            $values->RedoSearch if $i; # redo search if have deleted at least one value
         }
 
         my ( $old_value, $old_content );
-        if ( $old_value = $cf->ValuesForObject($self)->First ) {
+        if ( $old_value = $values->First ) {
             $old_content = $old_value->Content();
             return (1) if( $old_content eq $args{'Value'} && $old_value->LargeContent eq $args{'LargeContent'});;
         }


More information about the Rt-commit mailing list