diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/plugin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/plugin.php b/inc/plugin.php index b5b221fcd..d7dea4130 100644 --- a/inc/plugin.php +++ b/inc/plugin.php @@ -167,7 +167,7 @@ class DokuWiki_Plugin { * @return object helper plugin object */ function loadHelper($name, $msg){ - if (!plugin_isdiabled($name)) $obj =& plugin_load('helper',$name); + if (!plugin_isdisabled($name)) $obj =& plugin_load('helper',$name); else $obj = NULL; if (is_null($obj) && $msg) msg("Helper plugin $name is not available or invalid.",-1); return $obj; |