summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorSunil Joshi <joshi_sunil@in.com>2013-09-26 04:02:01 +0200
committerSimon Green <sgreen@redhat.com>2013-09-26 04:02:01 +0200
commit2fe007151dd2d7caec031cd1fca617eac47f2549 (patch)
tree17c8e3e24167a272d69a98ff548b0c52770edbe8 /buglist.cgi
parent58c09a1646d839d5aa61c0de844a0ccae89c3cf4 (diff)
downloadbugzilla-2fe007151dd2d7caec031cd1fca617eac47f2549.tar.gz
bugzilla-2fe007151dd2d7caec031cd1fca617eac47f2549.tar.xz
Bug 621216 - Don't call GetQuip() if the user doesn't want quips
r=simon, a=simon
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi5
1 files changed, 4 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 00d67c599..eda2e988d 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -905,7 +905,10 @@ if (scalar(@bugowners) > 1 && $user->in_group('editbugs')) {
# the list more compact.
$vars->{'splitheader'} = $cgi->cookie('SPLITHEADER') ? 1 : 0;
-$vars->{'quip'} = GetQuip();
+if ($user->settings->{'display_quips'}->{'value'} eq 'on') {
+ $vars->{'quip'} = GetQuip();
+}
+
$vars->{'currenttime'} = localtime(time());
# See if there's only one product in all the results (or only one product