summaryrefslogtreecommitdiff
path: root/inc/html.php
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2013-10-15 16:08:45 +0200
committerGerrit Uitslag <klapinklapin@gmail.com>2013-10-15 16:08:45 +0200
commita04f2bd5a2eae55dbbdbbcffbe7b500b689138e7 (patch)
tree1351550d3c88446dd9c0b6d73f89e5c5d9022b06 /inc/html.php
parentf19d1038b198647f2be868029e6692e6e55f8850 (diff)
downloadrpg-a04f2bd5a2eae55dbbdbbcffbe7b500b689138e7.tar.gz
rpg-a04f2bd5a2eae55dbbdbbcffbe7b500b689138e7.tar.bz2
not assign object from plugin_load by reference
Diffstat (limited to 'inc/html.php')
-rw-r--r--inc/html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/html.php b/inc/html.php
index 03e9dc751..68ca364f1 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -1669,7 +1669,7 @@ function html_admin(){
$menu = array();
foreach ($pluginlist as $p) {
/** @var DokuWiki_Admin_Plugin $obj */
- if($obj =& plugin_load('admin',$p) === null) continue;
+ if($obj = plugin_load('admin',$p) === null) continue;
// check permissions
if($obj->forAdminOnly() && !$INFO['isadmin']) continue;