Skip to content
Snippets Groups Projects
Commit e65c44be authored by Jan Eberhardt's avatar Jan Eberhardt
Browse files

smileys.php: fix nobody string

parent 3be9204b
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ class SmileysController extends AuthenticatedController ...@@ -30,7 +30,7 @@ class SmileysController extends AuthenticatedController
PageLayout::setTitle(_('Smiley-Übersicht')); PageLayout::setTitle(_('Smiley-Übersicht'));
$this->favorites_activated = SmileyFavorites::isEnabled() $this->favorites_activated = SmileyFavorites::isEnabled()
&& $GLOBALS['user']->id != nobody; && $GLOBALS['user']->id != 'nobody';
if ($this->favorites_activated) { if ($this->favorites_activated) {
$this->favorites = new SmileyFavorites($GLOBALS['user']->id); $this->favorites = new SmileyFavorites($GLOBALS['user']->id);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment