[Rt-commit] r7769 - rt/branches/3.6-RELEASE/sbin
ruz at bestpractical.com
ruz at bestpractical.com
Fri May 4 21:13:48 EDT 2007
Author: ruz
Date: Fri May 4 21:13:47 2007
New Revision: 7769
Modified:
rt/branches/3.6-RELEASE/sbin/rt-setup-database.in
Log:
* apply CF as global only if it hasn't been applied to a queue
Modified: rt/branches/3.6-RELEASE/sbin/rt-setup-database.in
==============================================================================
--- rt/branches/3.6-RELEASE/sbin/rt-setup-database.in (original)
+++ rt/branches/3.6-RELEASE/sbin/rt-setup-database.in Fri May 4 21:13:47 2007
@@ -557,7 +557,7 @@
print "(Error: $emsg)\n" unless $eval;
}
- if ($item->{LookupType}) { # enable by default
+ if ( $item->{LookupType} && !exists $item->{'Queue'} ) { # enable by default
my $ocf = RT::ObjectCustomField->new($CurrentUser);
$ocf->Create( CustomField => $new_entry->Id );
}
More information about the Rt-commit
mailing list