Typed property User::$info must be array, bool used
This commit is contained in:
parent
84c0847178
commit
f3bee1c3ac
@ -1916,6 +1916,11 @@ FROM `items_users` AS `iu` LEFT JOIN `items_main` AS `im` ON (`im`.`id` = `iu`.`
|
||||
[$_COOKIE['login']]
|
||||
);
|
||||
}
|
||||
|
||||
if (empty($this->info)) {
|
||||
$this->info = [];
|
||||
}
|
||||
|
||||
Database::init(); // для всяких mysql_*
|
||||
|
||||
$this->infoTasks();
|
||||
|
Loading…
Reference in New Issue
Block a user