summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-05-17 05:49:12 +0000
committerlpsolit%gmail.com <>2006-05-17 05:49:12 +0000
commit157112a527273a0010b23ded67856d671dd757f0 (patch)
treeeff464a85ed5a996be40339d80ffb5bbbbd310f6 /sanitycheck.cgi
parentBug 337747: config.cgi fails with an SQL error in Bugzilla::Keyword with no k... (diff)
downloadbugzilla-157112a527273a0010b23ded67856d671dd757f0.tar.gz
bugzilla-157112a527273a0010b23ded67856d671dd757f0.tar.bz2
bugzilla-157112a527273a0010b23ded67856d671dd757f0.zip
Bug 300549: Eliminate deprecated Bugzilla::DB routines from Flag.pm and FlagType.pm - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wicked a=justdave
Diffstat (limited to 'sanitycheck.cgi')
-rwxr-xr-xsanitycheck.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/sanitycheck.cgi b/sanitycheck.cgi
index 09d7a81a8..15861b9d8 100755
--- a/sanitycheck.cgi
+++ b/sanitycheck.cgi
@@ -751,7 +751,7 @@ BugCheck("bugs LEFT JOIN duplicates ON bugs.bug_id = duplicates.dupe WHERE " .
Status("Checking statuses/resolutions");
-my @open_states = map(SqlQuote($_), BUG_STATE_OPEN);
+my @open_states = map($dbh->quote($_), BUG_STATE_OPEN);
my $open_states = join(', ', @open_states);
BugCheck("bugs WHERE bug_status IN ($open_states) AND resolution != ''",