Issue#68 Get name from guid if not set
This commit is contained in:
@@ -403,10 +403,6 @@ final class GroupBackend extends ABackend implements
|
||||
"Entering getGroupDetails($gid)", ["app" => $this->appName]
|
||||
);
|
||||
|
||||
if (empty($this->properties[DB::GROUP_NAME_COLUMN])) {
|
||||
return [];
|
||||
}
|
||||
|
||||
$group = $this->getGroup($gid);
|
||||
|
||||
if (!($group instanceof Group)) {
|
||||
|
||||
@@ -88,7 +88,7 @@ class QueryProvider implements \ArrayAccess
|
||||
|
||||
$groupColumns
|
||||
= "$gGID AS gid, " .
|
||||
(empty($gName) ? "null" : $gName) . " AS name, " .
|
||||
(empty($gName) ? $gGID : $gName) . " AS name, " .
|
||||
(empty($gAdmin) ? "false" : $gAdmin) . " AS admin";
|
||||
$userColumns
|
||||
= "$uUID AS uid, " .
|
||||
|
||||
Reference in New Issue
Block a user