summaryrefslogtreecommitdiff
path: root/inc/html.php
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2013-10-15 16:26:25 +0200
committerGerrit Uitslag <klapinklapin@gmail.com>2013-10-15 16:26:25 +0200
commit5da403f17a007f1b202f1c5ea2dbc80ab19d26e8 (patch)
treec3e2cc0f1d18ccc9661a1c68bf6296386e62908a /inc/html.php
parenta04f2bd5a2eae55dbbdbbcffbe7b500b689138e7 (diff)
downloadrpg-5da403f17a007f1b202f1c5ea2dbc80ab19d26e8.tar.gz
rpg-5da403f17a007f1b202f1c5ea2dbc80ab19d26e8.tar.bz2
fix signatures and old by references
Diffstat (limited to 'inc/html.php')
-rw-r--r--inc/html.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/html.php b/inc/html.php
index 68ca364f1..2d7216a45 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -1661,7 +1661,7 @@ function html_admin(){
global $ID;
global $INFO;
global $conf;
- /** @var auth_basic $auth */
+ /** @var DokuWiki_Auth_Plugin $auth */
global $auth;
// build menu of admin functions from the plugins that handle them
@@ -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;