[Rt-commit] r9293 - rt/branches/3.7-RTIR-RELENG/lib/RT
ruz at bestpractical.com
ruz at bestpractical.com
Fri Oct 12 16:05:40 EDT 2007
Author: ruz
Date: Fri Oct 12 16:05:34 2007
New Revision: 9293
Modified:
rt/branches/3.7-RTIR-RELENG/lib/RT/Transaction_Overlay.pm
Log:
* get rid of uninit warning
Modified: rt/branches/3.7-RTIR-RELENG/lib/RT/Transaction_Overlay.pm
==============================================================================
--- rt/branches/3.7-RTIR-RELENG/lib/RT/Transaction_Overlay.pm (original)
+++ rt/branches/3.7-RTIR-RELENG/lib/RT/Transaction_Overlay.pm Fri Oct 12 16:05:34 2007
@@ -616,7 +616,7 @@
if ( ! defined $self->OldValue || $self->OldValue eq '' ) {
return ( $self->loc("[_1] [_2] added", $field, $self->NewValue) );
}
- elsif ( $self->NewValue eq '' ) {
+ elsif ( !defined $self->NewValue || $self->NewValue eq '' ) {
return ( $self->loc("[_1] [_2] deleted", $field, $self->OldValue) );
}
More information about the Rt-commit
mailing list