summaryrefslogtreecommitdiff
path: root/inc/parserutils.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2012-07-28 12:02:06 +0200
committerAndreas Gohr <andi@splitbrain.org>2012-07-28 12:02:06 +0200
commite8b5a4f91c8a6e230a6cfe13c43dc9ddce31e253 (patch)
tree419623aa4696b6c67b75e3fca3f9eb264828b2be /inc/parserutils.php
parent0d16f6e357991625b4e88fc7a147c8d743e890d7 (diff)
downloadrpg-e8b5a4f91c8a6e230a6cfe13c43dc9ddce31e253.tar.gz
rpg-e8b5a4f91c8a6e230a6cfe13c43dc9ddce31e253.tar.bz2
fix E_STRICT errors FS#2427
This commit fixes all E_STRICT messages shown when running the test suite. There might be more problems not covered by tests, yet. For compatibility reasons with plugins, E_STRICT errors are still supressed.
Diffstat (limited to 'inc/parserutils.php')
-rw-r--r--inc/parserutils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parserutils.php b/inc/parserutils.php
index 20f992ba2..58920cbea 100644
--- a/inc/parserutils.php
+++ b/inc/parserutils.php
@@ -570,7 +570,7 @@ function p_get_parsermodes(){
$obj = null;
foreach($pluginlist as $p){
/** @var DokuWiki_Syntax_Plugin $obj */
- if(!$obj =& plugin_load('syntax',$p)) continue; //attempt to load plugin into $obj
+ if(!$obj = plugin_load('syntax',$p)) continue; //attempt to load plugin into $obj
$PARSER_MODES[$obj->getType()][] = "plugin_$p"; //register mode type
//add to modes
$modes[] = array(