Commit 2fe00715 authored by Sunil Joshi's avatar Sunil Joshi Committed by Simon Green

Bug 621216 - Don't call GetQuip() if the user doesn't want quips

r=simon, a=simon
parent 58c09a16
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment