diff options
author | justdave%syndicomm.com <> | 2002-11-11 08:19:41 +0000 |
---|---|---|
committer | justdave%syndicomm.com <> | 2002-11-11 08:19:41 +0000 |
commit | b693f20047d849a9bf3c064412ef30d7041401f8 (patch) | |
tree | 56930e14f3c5ffdd4945ee54c17cf20d23a1e54d /quips.cgi | |
parent | Fix for bug 179396 (add 007util.t in order to test Bugzilla::Util). (diff) | |
download | bugzilla-b693f20047d849a9bf3c064412ef30d7041401f8.tar.gz bugzilla-b693f20047d849a9bf3c064412ef30d7041401f8.tar.bz2 bugzilla-b693f20047d849a9bf3c064412ef30d7041401f8.zip |
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
Diffstat (limited to 'quips.cgi')
-rwxr-xr-x | quips.cgi | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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") { |