Fix bugs + new screenshot

This commit is contained in:
Marcin Łojewski
2018-06-13 09:47:18 +02:00
parent e3e6aded01
commit 29f1fa0730
3 changed files with 7 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 42 KiB

View File

@@ -560,6 +560,7 @@ final class UserBackend extends Backend
&& !empty($this->properties[DB::HOSTNAME]) && !empty($this->properties[DB::HOSTNAME])
&& !empty($this->properties[DB::USERNAME]) && !empty($this->properties[DB::USERNAME])
&& !empty($this->properties[DB::USER_TABLE]) && !empty($this->properties[DB::USER_TABLE])
&& !empty($this->properties[DB::USER_UID_COLUMN])
&& !empty($this->properties[DB::USER_PASSWORD_COLUMN]) && !empty($this->properties[DB::USER_PASSWORD_COLUMN])
&& !empty($this->properties[Opt::CRYPTO_CLASS]); && !empty($this->properties[Opt::CRYPTO_CLASS]);
} }

View File

@@ -83,14 +83,14 @@ class QueryProvider implements \ArrayAccess
$groupColumns $groupColumns
= "$gGID AS gid, " . = "$gGID AS gid, " .
"$gName AS name, " . (empty($gName) ? "null" : $gName) . " AS name, " .
"$gAdmin AS admin"; (empty($gAdmin) ? "false" : $gAdmin) . " AS admin";
$userColumns $userColumns
= "$uUID AS uid, " . = "$uUID AS uid, " .
"$uName AS name, " . (empty($uName) ? "null" : $uName) . " AS name, " .
"$uEmail AS email, " . (empty($uEmail) ? "null" : $uEmail) . " AS email, " .
"$uHome AS home, " . (empty($uHome) ? "null" : $uHome) . " AS home, " .
"$uAvatar AS avatar"; (empty($uAvatar) ? "false" : $uAvatar) . " AS avatar";
$this->queries = [ $this->queries = [
Query::BELONGS_TO_ADMIN => Query::BELONGS_TO_ADMIN =>