diff --git a/phpmyfaq/src/phpMyFAQ/User.php b/phpmyfaq/src/phpMyFAQ/User.php index fc5926dc7f..64b0839276 100644 --- a/phpmyfaq/src/phpMyFAQ/User.php +++ b/phpmyfaq/src/phpMyFAQ/User.php @@ -707,16 +707,16 @@ public function getAllUsers(bool $withoutAnonymous = true, bool $allowBlockedUse return []; } - $result = []; + $users = []; if ($this->configuration->getDb()->numRows($result) === 0) { return $result; } while ($row = $this->configuration->getDb()->fetchArray($result)) { - $result[] = (int) $row['user_id']; + $users[] = (int) $row['user_id']; } - return $result; + return $users; } /**