Skip to content
Snippets Groups Projects
Commit dcf482ee authored by Philipp Schüttlöffel's avatar Philipp Schüttlöffel Committed by Rasmus Fuhse
Browse files

Resolve "Wiki: Incorrect integer value: '-' for column `studip`.`wiki_pages`.`parent_id` at row 1"

Closes #3899

Merge request studip/studip!2761
parent ffabce68
No related branches found
No related tags found
No related merge requests found
...@@ -736,7 +736,7 @@ class Course_WikiController extends AuthenticatedController ...@@ -736,7 +736,7 @@ class Course_WikiController extends AuthenticatedController
$parent_id = $parent_id ?? $this->range->getConfiguration()->WIKI_STARTPAGE_ID; $parent_id = $parent_id ?? $this->range->getConfiguration()->WIKI_STARTPAGE_ID;
PageLayout::setTitle(_('Neue Wikiseite erstellen')); PageLayout::setTitle(_('Neue Wikiseite erstellen'));
$options = [ $options = [
'-' => _('Keine') '' => _('Keine')
]; ];
WikiPage::findEachBySQL( WikiPage::findEachBySQL(
function (WikiPage $p) use (&$options) { function (WikiPage $p) use (&$options) {
......
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