Bug 303669: Bugzilla mis-uses perl subroutine prototypes
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave git-svn-id: svn://10.0.0.236/trunk@177413 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -337,7 +337,7 @@ sub DoPermissions {
|
||||
# No SavePermissions() because this panel has no changeable fields.
|
||||
|
||||
|
||||
sub DoSavedSearches() {
|
||||
sub DoSavedSearches {
|
||||
# 2004-12-13 - colin.ogilvie@gmail.com, bug 274397
|
||||
# Need to work around the possibly missing query_format=advanced
|
||||
$vars->{'user'} = Bugzilla->user;
|
||||
@@ -362,7 +362,7 @@ sub DoSavedSearches() {
|
||||
$vars->{'queries'} = \@newqueries;
|
||||
}
|
||||
|
||||
sub SaveSavedSearches() {
|
||||
sub SaveSavedSearches {
|
||||
my $cgi = Bugzilla->cgi;
|
||||
my $dbh = Bugzilla->dbh;
|
||||
my @queries = @{Bugzilla->user->queries};
|
||||
|
||||
Reference in New Issue
Block a user