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

fixes #3657

Closes #3657

Merge request studip/studip!2537
parent 3824d220
No related branches found
No related tags found
No related merge requests found
......@@ -279,7 +279,7 @@ class JsupdaterController extends AuthenticatedController
private function getWikiEditorStatus($pageInfo): array
{
$data = [];
if (!empty($pageInfo['wiki_editor_status'])) {
if (!empty($pageInfo['wiki_editor_status']['page_ids'])) {
$user = User::findCurrent();
foreach ((array) $pageInfo['wiki_editor_status']['page_ids'] as $page_id) {
WikiOnlineEditingUser::deleteBySQL(
......
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