summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 $@;