From b693f20047d849a9bf3c064412ef30d7041401f8 Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Mon, 11 Nov 2002 08:19:41 +0000 Subject: Fix for bug 179380: if "enablequips" is off, quips.cgi now presents a message that the quips are disabled instead of letting you view or add quips. r=myk, a=me --- quips.cgi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'quips.cgi') diff --git a/quips.cgi b/quips.cgi index c36a09b6c..be8d9f3ec 100755 --- a/quips.cgi +++ b/quips.cgi @@ -38,6 +38,10 @@ require "CGI.pl"; ConnectToDatabase(); confirm_login(); +if (Param('enablequips') eq "off") { + ThrowUserError("quips_disabled"); +} + my $action = $::FORM{'action'} || ""; if ($action eq "show") { -- cgit v1.2.3-24-g4f1b