From c23727cce7fdda1cef39e49bfb2f0385f96c5350 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Thu, 1 Dec 2022 00:49:34 +0100 Subject: [PATCH] fix null user on public side --- inc/class.zoneclear.feed.server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/class.zoneclear.feed.server.php b/inc/class.zoneclear.feed.server.php index 1c84ce8..a7efb55 100644 --- a/inc/class.zoneclear.feed.server.php +++ b/inc/class.zoneclear.feed.server.php @@ -716,7 +716,7 @@ class zoneclearFeedServer } else { dcCore::app()->auth = null; dcCore::app()->auth = new dcAuth(); - dcCore::app()->auth->checkUser($this->user); + dcCore::app()->auth->checkUser($this->user ?? ''); } }