From 97f59cf7ce28a342fe19606999a65f18d264ef3d Mon Sep 17 00:00:00 2001 From: Klap-in <klapinklapin@gmail.com> Date: Sun, 27 Jan 2013 22:42:33 +0100 Subject: [PATCH] set $msg argument of loadHelper() default to true. --- lib/plugins/syntax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugins/syntax.php b/lib/plugins/syntax.php index a6d7ce92c..b7839b2b2 100644 --- a/lib/plugins/syntax.php +++ b/lib/plugins/syntax.php @@ -287,7 +287,7 @@ class DokuWiki_Syntax_Plugin extends Doku_Parser_Mode { * * @return object helper plugin object */ - function loadHelper($name, $msg) { + function loadHelper($name, $msg = true) { if(!plugin_isdisabled($name)) { $obj = plugin_load('helper', $name); } else { -- GitLab