[Rt-commit] r9527 - in rt/branches/3.6-EXPERIMENTAL-CATEGORIES:
lib/RT/Interface
falcone at bestpractical.com
falcone at bestpractical.com
Wed Oct 31 22:23:55 EDT 2007
Author: falcone
Date: Wed Oct 31 22:23:54 2007
New Revision: 9527
Modified:
rt/branches/3.6-EXPERIMENTAL-CATEGORIES/ (props changed)
rt/branches/3.6-EXPERIMENTAL-CATEGORIES/lib/RT/Interface/Web.pm
Log:
r26022 at ketch: falcone | 2007-10-31 22:07:11 -0400
* check for value based on the Category too to avoid breaking
on duplicate CFVs in different Categories
Modified: rt/branches/3.6-EXPERIMENTAL-CATEGORIES/lib/RT/Interface/Web.pm
==============================================================================
--- rt/branches/3.6-EXPERIMENTAL-CATEGORIES/lib/RT/Interface/Web.pm (original)
+++ rt/branches/3.6-EXPERIMENTAL-CATEGORIES/lib/RT/Interface/Web.pm Wed Oct 31 22:23:54 2007
@@ -1333,7 +1333,7 @@
}
# build up a hash of values that the new set has
$values_hash{"$category-$value"} = 1;
- next if $cf_values->HasEntry( $value );
+ next if $cf_values->HasEntry( Value => $value, Category => $category );
my ( $val, $msg ) = $args{'Object'}->AddCustomFieldValue(
Field => $cf,
More information about the Rt-commit
mailing list