summaryrefslogtreecommitdiffstats
path: root/reports.cgi
diff options
context:
space:
mode:
authordave%intrec.com <>2001-01-27 11:34:17 +0100
committerdave%intrec.com <>2001-01-27 11:34:17 +0100
commitcbd206cbe1e92ac39f1bf25e8a58ceaf51254a93 (patch)
tree48594cc635d69105367230139c0b0fa9e3a9f8e3 /reports.cgi
parent923b661c39a2ffd78d5ecc44197846a7cd1f0b0a (diff)
downloadbugzilla-cbd206cbe1e92ac39f1bf25e8a58ceaf51254a93.tar.gz
bugzilla-cbd206cbe1e92ac39f1bf25e8a58ceaf51254a93.tar.xz
Fix for bug 66154, fixes error introduced in v1.42 of reports.cgi from bug 39159. Patch by Alan Shields <shie9022@msmailhub.oulan.ou.edu>
Diffstat (limited to 'reports.cgi')
-rwxr-xr-xreports.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/reports.cgi b/reports.cgi
index 4efaba9de..e23897c9f 100755
--- a/reports.cgi
+++ b/reports.cgi
@@ -40,7 +40,7 @@ use diagnostics;
use strict;
eval "use GD";
-my $use_gd = @ ? 0 : 1;
+my $use_gd = $@ ? 0 : 1;
eval "use Chart::Lines";
$use_gd = 0 if $@;