]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 343337: process_bug.cgi calls certain constants as global subroutines
authormkanat%bugzilla.org <>
Tue, 4 Jul 2006 04:20:41 +0000 (04:20 +0000)
committermkanat%bugzilla.org <>
Tue, 4 Jul 2006 04:20:41 +0000 (04:20 +0000)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave

process_bug.cgi

index 645a076ceed18c0d46444ebc2e7bdeb4c4e54b71..37eb085f647203ba0ded4a99156debda72e0eb1a 100755 (executable)
@@ -1606,10 +1606,10 @@ foreach my $id (@idlist) {
     foreach my $group_control (@$group_controls) {
         my ($group, $control) = @$group_control;
         $control ||= 0;
-        unless ($control > &::CONTROLMAPNA)  {
+        unless ($control > CONTROLMAPNA)  {
             $groupsforbidden{$group} = 1;
         }
-        if ($control == &::CONTROLMAPMANDATORY) {
+        if ($control == CONTROLMAPMANDATORY) {
             $groupsrequired{$group} = 1;
         }
     }