[Rt-commit] r11993 - rt/branches/3.8-TESTING/etc
ruz at bestpractical.com
ruz at bestpractical.com
Thu May 1 16:21:32 EDT 2008
Author: ruz
Date: Thu May 1 16:21:31 2008
New Revision: 11993
Modified:
rt/branches/3.8-TESTING/etc/RT_Config.pm.in
Log:
* protect $@ with local as we don't care about error
Modified: rt/branches/3.8-TESTING/etc/RT_Config.pm.in
==============================================================================
--- rt/branches/3.8-TESTING/etc/RT_Config.pm.in (original)
+++ rt/branches/3.8-TESTING/etc/RT_Config.pm.in Thu May 1 16:21:31 2008
@@ -738,8 +738,7 @@
Set($DevelMode, '@RT_DEVEL_MODE@');
-eval {require GraphViz;};
-Set($DisableGraphViz, $@ ? 1 : 0);
+Set($DisableGraphViz, do { local $@; eval {require GraphViz; 1;} ? 1 : 0 } );
# }}}
More information about the Rt-commit
mailing list