aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/feed.php
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2023-09-01 01:10:48 +0200
committerGerrit Uitslag <klapinklapin@gmail.com>2023-09-01 01:10:48 +0200
commit6547cfc7454f26cc353587c1314f9fde93a0a056 (patch)
tree286b440eb621ef997e3d56dffb6cbf80d5f03b9f /feed.php
parent4dc42f7f535b7adeea17426327a60e242e2a7d4a (diff)
downloaddokuwiki-6547cfc7454f26cc353587c1314f9fde93a0a056.tar.gz
dokuwiki-6547cfc7454f26cc353587c1314f9fde93a0a056.zip
use $auth instanceof AuthPlugin instead of not null check
Diffstat (limited to 'feed.php')
-rw-r--r--feed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/feed.php b/feed.php
index 75fabc58d..e76fb0352 100644
--- a/feed.php
+++ b/feed.php
@@ -448,7 +448,7 @@ function rss_buildItems(&$rss, &$data, $opt)
$item->authorEmail = $user . '@undisclosed.example.com';
// get real user name if configured
- if ($conf['useacl'] && $auth) {
+ if ($conf['useacl'] && $auth instanceof AuthPlugin) {
$userInfo = $auth->getUserData($user);
if ($userInfo) {
switch ($conf['showuseras']) {