Fix #17522: DbManager::isEmptyUserId() is now protected

This commit is contained in:
Alexander Makarov
2019-08-27 21:05:48 +03:00
committed by GitHub
parent 5e38f47275
commit dfbf176831
2 changed files with 3 additions and 1 deletions

View File

@ -1046,8 +1046,9 @@ class DbManager extends BaseManager
* Check whether $userId is empty.
* @param mixed $userId
* @return bool
* @since 2.0.26
*/
private function isEmptyUserId($userId)
protected function isEmptyUserId($userId)
{
return !isset($userId) || $userId === '';
}