From e65c44bea27d054ee2b6687798ca390aa73a3bff Mon Sep 17 00:00:00 2001 From: Jan Eberhardt <eberhardt@elsa.uni-hannover.de> Date: Wed, 25 Aug 2021 08:00:43 +0000 Subject: [PATCH] smileys.php: fix nobody string --- app/controllers/smileys.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/smileys.php b/app/controllers/smileys.php index 19dea64ba7a..600645dd49f 100644 --- a/app/controllers/smileys.php +++ b/app/controllers/smileys.php @@ -30,7 +30,7 @@ class SmileysController extends AuthenticatedController PageLayout::setTitle(_('Smiley-Ãœbersicht')); $this->favorites_activated = SmileyFavorites::isEnabled() - && $GLOBALS['user']->id != nobody; + && $GLOBALS['user']->id != 'nobody'; if ($this->favorites_activated) { $this->favorites = new SmileyFavorites($GLOBALS['user']->id); -- GitLab