Item10435: unconditional call to writeDebug
Priority: Low
Current State: Closed
Released In: n/a
Target Release: n/a
There's a call to
writeDebug
which isn't conditional upon
$debug
being set. Here's a patch to fix it:
--- /var/www/default/templates/Foswiki-1.1.2/lib/Foswiki/Plugins/ExplicitNumberingPlugin.pm 2010-02-22 20:13:36.000000000 -0500
+++ lib/Foswiki/Plugins/ExplicitNumberingPlugin.pm 2011-03-02 16:52:12.000000000 -0500
@@ -111,7 +111,8 @@
{
{
Foswiki::Func::writeDebug(
- 'ExplicitNumbering - Disabled - not view context');
+ 'ExplicitNumbering - Disabled - not view context')
+ if $debug;
return ;
}
}
--
DiabJerius - 02 Mar 2011
Was already done in SVN. Now released.
--
AndrewJones - 04 May 2011