[Rt-commit] r6050 - in rt/branches/QUEBEC-EXPERIMENTAL: .
ruz at bestpractical.com
ruz at bestpractical.com
Tue Sep 26 20:15:23 EDT 2006
Author: ruz
Date: Tue Sep 26 20:15:22 2006
New Revision: 6050
Modified:
rt/branches/QUEBEC-EXPERIMENTAL/ (props changed)
rt/branches/QUEBEC-EXPERIMENTAL/lib/RT/Record.pm
Log:
r3697 at cubic-pc (orig r5857): ruz | 2006-09-04 23:30:28 +0400
* redo search if we have deleted entries in collection
Modified: rt/branches/QUEBEC-EXPERIMENTAL/lib/RT/Record.pm
==============================================================================
--- rt/branches/QUEBEC-EXPERIMENTAL/lib/RT/Record.pm (original)
+++ rt/branches/QUEBEC-EXPERIMENTAL/lib/RT/Record.pm Tue Sep 26 20:15:22 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