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

fixes #3456

Closes #3456

Merge request studip/studip!2352
parent 82382143
No related branches found
No related tags found
No related merge requests found
Pipeline #17374 passed
...@@ -815,7 +815,7 @@ class ForumEntry implements PrivacyObject ...@@ -815,7 +815,7 @@ class ForumEntry implements PrivacyObject
} }
if ($options['search_author']) { if ($options['search_author']) {
$zw_search_string[] = "author LIKE " . DBManager::get()->quote($search_word); $zw_search_string[] = "(anonymous = 0 AND author LIKE " . DBManager::get()->quote($search_word) . ')';
} }
if (!empty($zw_search_string)) { if (!empty($zw_search_string)) {
......
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