Skip to content
Snippets Groups Projects
Commit 72e3a8f5 authored by David Siegfried's avatar David Siegfried Committed by Jan-Hendrik Willms
Browse files

prevent php-warnings, closes #3486

Closes #3486

Merge request studip/studip!2381
parent 6c987bcd
No related branches found
No related tags found
No related merge requests found
......@@ -91,7 +91,7 @@ class SemBrowse {
if (
Request::get('keep_result_set')
|| !empty($this->sem_browse_data['sset'])
|| (!empty($this->sem_browse_data['search_result']) && $this->sem_browse_data['show_entries'])
|| (!empty($this->sem_browse_data['search_result']) && !empty($this->sem_browse_data['show_entries']))
) {
$this->show_result = true;
}
......@@ -437,7 +437,7 @@ class SemBrowse {
}
switch ($this->sem_browse_data['group_by'] ?? null) {
case 0:
echo htmlReady($this->search_obj->sem_dates[$group_field]['name']);
echo htmlReady($this->search_obj->sem_dates[$group_field]['name'] ?? '');
break;
case 1:
if ($the_tree->tree_data[$group_field]) {
......
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