Issue#68 Get name from guid if not set

This commit is contained in:
Marcin Łojewski
2018-10-13 11:45:06 +02:00
parent 2cf7265ac7
commit 9ab6df0f76
2 changed files with 1 additions and 5 deletions

View File

@@ -403,10 +403,6 @@ final class GroupBackend extends ABackend implements
"Entering getGroupDetails($gid)", ["app" => $this->appName] "Entering getGroupDetails($gid)", ["app" => $this->appName]
); );
if (empty($this->properties[DB::GROUP_NAME_COLUMN])) {
return [];
}
$group = $this->getGroup($gid); $group = $this->getGroup($gid);
if (!($group instanceof Group)) { if (!($group instanceof Group)) {

View File

@@ -88,7 +88,7 @@ class QueryProvider implements \ArrayAccess
$groupColumns $groupColumns
= "$gGID AS gid, " . = "$gGID AS gid, " .
(empty($gName) ? "null" : $gName) . " AS name, " . (empty($gName) ? $gGID : $gName) . " AS name, " .
(empty($gAdmin) ? "false" : $gAdmin) . " AS admin"; (empty($gAdmin) ? "false" : $gAdmin) . " AS admin";
$userColumns $userColumns
= "$uUID AS uid, " . = "$uUID AS uid, " .