diff options
author | 2013-09-26 12:02:01 +1000 | |
---|---|---|
committer | 2013-09-26 12:02:01 +1000 | |
commit | 2fe007151dd2d7caec031cd1fca617eac47f2549 (patch) | |
tree | 17c8e3e24167a272d69a98ff548b0c52770edbe8 /buglist.cgi | |
parent | Bug 455301: Don't show password box on userprefs.cgi if your auth method didn... (diff) | |
download | bugzilla-2fe007151dd2d7caec031cd1fca617eac47f2549.tar.gz bugzilla-2fe007151dd2d7caec031cd1fca617eac47f2549.tar.bz2 bugzilla-2fe007151dd2d7caec031cd1fca617eac47f2549.zip |
Bug 621216 - Don't call GetQuip() if the user doesn't want quips
r=simon, a=simon
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 5 |
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 |