[Rt-commit] [svn] r1281 - in rt: . branches/3.2-RELEASE/lib/RT
autrijus at pallas.eruditorum.org
autrijus at pallas.eruditorum.org
Fri Jul 23 13:15:18 EDT 2004
Author: autrijus
Date: Fri Jul 23 13:15:16 2004
New Revision: 1281
Modified:
rt/ (props changed)
rt/branches/3.2-RELEASE/lib/RT/Ticket_Overlay.pm
Log:
RT-Ticket: 5274
RT-Status: resolved
RT-Update: correspond
Apply Bart Duchesne's patch for correctly deleting old TCFV '0'
when editing SingleValue TCFs.
Modified: rt/branches/3.2-RELEASE/lib/RT/Ticket_Overlay.pm
==============================================================================
--- rt/branches/3.2-RELEASE/lib/RT/Ticket_Overlay.pm (original)
+++ rt/branches/3.2-RELEASE/lib/RT/Ticket_Overlay.pm Fri Jul 23 13:15:16 2004
@@ -3457,7 +3457,7 @@
$new_value->Load($new_value_id);
# now that adding the new value was successful, delete the old one
- if ($old_value) {
+ if (defined $old_value) {
my ($val, $msg) = $cf->DeleteValueForTicket(Ticket => $self->Id, Content => $old_value);
unless ($val) {
return (0,$msg);
More information about the Rt-commit
mailing list