diff options
author | Gerrit Uitslag <klapinklapin@gmail.com> | 2023-09-01 01:10:48 +0200 |
---|---|---|
committer | Gerrit Uitslag <klapinklapin@gmail.com> | 2023-09-01 01:10:48 +0200 |
commit | 6547cfc7454f26cc353587c1314f9fde93a0a056 (patch) | |
tree | 286b440eb621ef997e3d56dffb6cbf80d5f03b9f /feed.php | |
parent | 4dc42f7f535b7adeea17426327a60e242e2a7d4a (diff) | |
download | dokuwiki-6547cfc7454f26cc353587c1314f9fde93a0a056.tar.gz dokuwiki-6547cfc7454f26cc353587c1314f9fde93a0a056.zip |
use $auth instanceof AuthPlugin instead of not null check
Diffstat (limited to 'feed.php')
-rw-r--r-- | feed.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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']) { |