rt 4.2.16
[freeside.git] / rt / share / html / Elements / SelectWatcherType
index 3d37ee7..7f254b0 100755 (executable)
@@ -2,7 +2,7 @@
 %#
 %# COPYRIGHT:
 %#
-%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-2019 Best Practical Solutions, LLC
 %#                                          <sales@bestpractical.com>
 %#
 %# (Except where explicitly superseded by other copyright notices)
@@ -56,8 +56,8 @@
 
 <%INIT>
 my @types;
-if ($Scope =~ 'queue') {
-   @types = qw(Cc AdminCc);
+if ($Scope =~ /queue/) {
+   @types = RT::Queue->ManageableRoleGroupTypes;
 }
 else { 
    @types = qw(Requestor Cc AdminCc);