From: myk%mozilla.org <> Date: Sun, 29 Sep 2002 02:14:07 +0000 (+0000) Subject: Fixing build bustage. Incorrect usage "foreach my $foo qw(bar baz)" where the qw... X-Git-Tag: bugzilla-2.17.1~109 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07d9826a90f7efb3d31f9001d5fb26d2db5511dc;p=thirdparty%2Fbugzilla.git Fixing build bustage. Incorrect usage "foreach my $foo qw(bar baz)" where the qw construct needs to be surrounded by parentheses. --- diff --git a/userprefs.cgi b/userprefs.cgi index 2cc2b0340b..3e4011201a 100755 --- a/userprefs.cgi +++ b/userprefs.cgi @@ -239,7 +239,7 @@ sub SaveEmail { $updateString .= 'ExcludeSelf~'; } - foreach my $flag qw(FlagRequestee FlagRequester) { + foreach my $flag (qw(FlagRequestee FlagRequester)) { $updateString .= "~$flag~" . (defined($::FORM{$flag}) ? "on" : ""); }