[Rt-commit] r8739 - rtir/branches/2.3-EXPERIMENTAL/etc
ruz at bestpractical.com
ruz at bestpractical.com
Mon Aug 27 06:40:45 EDT 2007
Author: ruz
Date: Mon Aug 27 06:40:43 2007
New Revision: 8739
Modified:
rtir/branches/2.3-EXPERIMENTAL/etc/add_constituency
Log:
* forget to call function after refactoring
* minor
Modified: rtir/branches/2.3-EXPERIMENTAL/etc/add_constituency
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/etc/add_constituency (original)
+++ rtir/branches/2.3-EXPERIMENTAL/etc/add_constituency Mon Aug 27 06:40:43 2007
@@ -92,6 +92,7 @@
$RT::Handle->BeginTransaction;
debug "Adding constituency $constituency";
+add_cf_value( $constituency );
my @queue_prefixes = ('Incidents', 'Incident Reports', 'Investigations', 'Blocks');
@@ -168,7 +169,7 @@
my $cf = RT::CustomField->new( $RT::SystemUser );
$cf->Load( "_RTIR_Constituency" );
unless ( $cf->id ) {
- die "Could load the cosntituency custom field";
+ die "Couldn't load the constituency custom field";
}
return $cf;
}
More information about the Rt-commit
mailing list