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

swap conditions, fixes #2175

Closes #2175

Merge request studip/studip!1404
parent 7808a596
No related branches found
No related tags found
1 merge request!4Draft: Icon creation
......@@ -132,7 +132,7 @@ $pagechooser = null;
<!-- Seitenwähler (bei Bedarf) am oberen Rand anzeigen -->
<? if ($number_of_entries > ForumEntry::POSTINGS_PER_PAGE) : ?>
<div data-type="page_chooser" id="page-chooser">
<? if ($constraint['depth'] > 0 || !isset($constraint)) : ?>
<? if (!isset($constraint) || $constraint['depth'] > 0) : ?>
<?= $pagechooser = $GLOBALS['template_factory']->render('shared/pagechooser', [
'page' => ForumHelpers::getPage(),
'num_postings' => $number_of_entries,
......
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