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>

git-svn-id: svn://10.0.0.236/trunk@85610 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dave%intrec.com
2001-01-27 02:34:17 +00:00
parent f35d4f8c06
commit 6e760674f5

View File

@@ -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 $@;