summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2003-01-15 15:48:12 +0100
committerjustdave%syndicomm.com <>2003-01-15 15:48:12 +0100
commit77b86e4c02e0057a573594afdd84ba15c643a4fc (patch)
tree4b55a172f4521bdd9ee3973fd1a70a19e51aab1d /buglist.cgi
parente86587aaaffadae9fd7d2789aad9e1199c92cb8c (diff)
downloadbugzilla-77b86e4c02e0057a573594afdd84ba15c643a4fc.tar.gz
bugzilla-77b86e4c02e0057a573594afdd84ba15c643a4fc.tar.xz
Bug 184309: Adds an optional disabled state to quips, which allows quips to be moderated if the admin so chooses.
Patch by Tobias Burnus <burnus@gmx.de> r=joel, a=justdave
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 10e659a1f..3c693fa69 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -191,7 +191,7 @@ sub GetQuip {
my $quip;
- SendSQL("SELECT quip FROM quips ORDER BY RAND() LIMIT 1");
+ SendSQL("SELECT quip FROM quips WHERE approved = 1 ORDER BY RAND() LIMIT 1");
if (MoreSQLData()) {
($quip) = FetchSQLData();