Skip to content
Snippets Groups Projects
Commit 9af058a8 authored by Elmar Ludwig's avatar Elmar Ludwig Committed by David Siegfried
Browse files

explicitly compare to the empty string, fixes #1669

Closes #1669

Merge request studip/studip!1075
parent 4ae3ed41
No related branches found
No related tags found
No related merge requests found
......@@ -339,7 +339,7 @@ class Abschluss extends ModuleManagementModelTreeItem implements PrivacyObject
public function getDisplayName($options = self::DISPLAY_DEFAULT)
{
if ($this->name_kurz) {
if ($this->name_kurz != '') {
return sprintf('%s (%s)', $this->name, $this->name_kurz);
} else {
return $this->name;
......
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