From 77b86e4c02e0057a573594afdd84ba15c643a4fc Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Wed, 15 Jan 2003 14:48:12 +0000 Subject: Bug 184309: Adds an optional disabled state to quips, which allows quips to be moderated if the admin so chooses. Patch by Tobias Burnus r=joel, a=justdave --- buglist.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buglist.cgi') 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(); -- cgit v1.2.3-24-g4f1b