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

fix weird bug that won't display the schedule title correctly, fixes #2624

Closes #2624

Merge request studip/studip!1773
parent 99856d04
No related branches found
No related tags found
No related merge requests found
...@@ -120,7 +120,7 @@ class CronjobSchedule extends SimpleORMap ...@@ -120,7 +120,7 @@ class CronjobSchedule extends SimpleORMap
*/ */
public function getTitle() public function getTitle()
{ {
return $this->content['title'] ?: $this->task->name ?? ''; return ($this->content['title'] ?: $this->task->name) ?? '';
} }
protected function cbJsonifyParameters($type) protected function cbJsonifyParameters($type)
......
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