[Rt-commit] r5291 - in rt/branches/3.5-TESTING: lib/RT
jesse at bestpractical.com
jesse at bestpractical.com
Thu May 25 17:56:04 EDT 2006
Author: jesse
Date: Thu May 25 17:56:01 2006
New Revision: 5291
Modified:
rt/branches/3.5-TESTING/ (props changed)
rt/branches/3.5-TESTING/lib/RT/CustomField_Overlay.pm
Log:
r9817 at jesse-vincents-computer-2: jesse | 2006-05-25 17:55:26 -0400
* Cleaned up a couple of warnings for redeclared variables
Modified: rt/branches/3.5-TESTING/lib/RT/CustomField_Overlay.pm
==============================================================================
--- rt/branches/3.5-TESTING/lib/RT/CustomField_Overlay.pm (original)
+++ rt/branches/3.5-TESTING/lib/RT/CustomField_Overlay.pm Thu May 25 17:56:01 2006
@@ -941,10 +941,10 @@
if ( $ObjectCF->Id ) {
return ( 0, $self->loc("That is already the current value") );
}
- my ( $id, $msg ) =
+ my ( $ret, $msg ) =
$ObjectCF->Create( ObjectId => $id, CustomField => $self->Id );
- return ( $id, $msg );
+ return ( $ret, $msg );
}
@@ -976,7 +976,7 @@
unless ( $ObjectCF->Id ) {
return ( 0, $self->loc("This custom field does not apply to that object") );
}
- my ( $id, $msg ) = $ObjectCF->Delete;
+ my ( $ret, $msg ) = $ObjectCF->Delete;
return ( $id, $msg );
}
More information about the Rt-commit
mailing list