[Rt-commit] r12948 - in rt/branches/3.8-TESTING: .
sartak at bestpractical.com
sartak at bestpractical.com
Thu Jun 5 19:23:18 EDT 2008
Author: sartak
Date: Thu Jun 5 19:23:18 2008
New Revision: 12948
Modified:
rt/branches/3.8-TESTING/ (props changed)
rt/branches/3.8-TESTING/lib/RT/Config.pm
Log:
r61750 at onn: sartak | 2008-06-05 19:23:11 -0400
Correct the %INC short-circuit
Modified: rt/branches/3.8-TESTING/lib/RT/Config.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Config.pm (original)
+++ rt/branches/3.8-TESTING/lib/RT/Config.pm Thu Jun 5 19:23:18 2008
@@ -213,7 +213,7 @@
my $self = shift;
my $value = shift;
return if $value;
- return if $INC{'GraphViz'};
+ return if $INC{'GraphViz.pm'};
local $@;
return if eval {require GraphViz; 1};
warn "You've enabled GraphViz, but we couldn't load the module: $@";
@@ -226,7 +226,7 @@
my $self = shift;
my $value = shift;
return if $value;
- return if $INC{'GD'};
+ return if $INC{'GD.pm'};
local $@;
return if eval {require GD; 1};
warn "You've enabled GD, but we couldn't load the module: $@";
More information about the Rt-commit
mailing list