[Rt-commit] r8167 - rtir/branches/2.3-EXPERIMENTAL/lib/RT/Action
ruz at bestpractical.com
ruz at bestpractical.com
Sat Jul 14 23:17:59 EDT 2007
Author: ruz
Date: Sat Jul 14 23:17:59 2007
New Revision: 8167
Modified:
rtir/branches/2.3-EXPERIMENTAL/lib/RT/Action/RTIR_SetConstituencyGroup.pm
Log:
* add group only if required group is not there and only if the current ticket
has constituency value
Modified: rtir/branches/2.3-EXPERIMENTAL/lib/RT/Action/RTIR_SetConstituencyGroup.pm
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/lib/RT/Action/RTIR_SetConstituencyGroup.pm (original)
+++ rtir/branches/2.3-EXPERIMENTAL/lib/RT/Action/RTIR_SetConstituencyGroup.pm Sat Jul 14 23:17:59 2007
@@ -45,7 +45,7 @@
$RT::Logger->error("Couldn't delete admin cc: $msg") unless $status;
}
}
- unless ( $required_group_there && $constituency ) {
+ if ( !$required_group_there && $constituency ) {
my $group = RT::Group->new( $RT::SystemUser );
$group->LoadUserDefinedGroup('DutyTeam '. $constituency);
unless ( $group->id ) {
More information about the Rt-commit
mailing list