Skip to content
Snippets Groups Projects
Commit 057a5891 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

Merge branch 'eberhardt-main-patch-03213' into 'main'

smileys.php: fix nobody string, fixes #115

Closes #115

See merge request studip/studip!28
parents 3be9204b e65c44be
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
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