summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/Group/Database.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/Group/Database.php b/lib/private/Group/Database.php
index cc8ea2fb52b..fb557eafbbd 100644
--- a/lib/private/Group/Database.php
+++ b/lib/private/Group/Database.php
@@ -458,11 +458,11 @@ class Database extends ABackend implements
public function getDisplayName(string $gid): string {
if (isset($this->groupCache[$gid])) {
- $displayName = $this->groupCache[$gid]['displayname'];
+ $displayName = $this->groupCache[$gid]['displayname'];
- if (isset($displayName) && trim($displayName) !== '') {
- return $displayName;
- }
+ if (isset($displayName) && trim($displayName) !== '') {
+ return $displayName;
+ }
}
$this->fixDI();