mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-08 21:56:09 +00:00
Fix more PHP 7.2 non-countable types
This commit is contained in:
@@ -678,7 +678,7 @@ class MYSQLi_DB implements IDbConnection {
|
||||
$arrayVariable[$arrayStructure] = [];
|
||||
}
|
||||
|
||||
if (isset($arrayVariable[$arrayStructure]) && count($arrayVariable[$arrayStructure])) {
|
||||
if (isset($arrayVariable[$arrayStructure]) && !empty($arrayVariable[$arrayStructure])) {
|
||||
return $arrayVariable[$arrayStructure];
|
||||
} else {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user