Remove empty

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
This commit is contained in:
Kamil Tekiela 2023-04-15 22:36:46 +01:00
parent cd191b8dfe
commit 25ae5ebc78

View File

@ -291,7 +291,7 @@ class CheckUserPrivileges
$username = '';
$current = $this->dbi->getCurrentUserAndHost();
if (! empty($current)) {
if ($current !== []) {
[$username] = $current;
}