Skip to content
Snippets Groups Projects
Commit 4d5a9a7c authored by David Siegfried's avatar David Siegfried
Browse files

prevent php-warnings in wiki, fixes #4535

Closes #4535

Merge request studip/studip!3330
parent 66441b03
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,8 @@
<?
sort($pagedata['versions'], SORT_NUMERIC);
$pagedata['versions'] = array_reverse($pagedata['versions']);
$content = '';
$version = null;
if ($pagedata['is_in_content']) {
$content = $pagedata['page']->content;
} else if ($pagedata['is_in_history']) {
......
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