Typed property User::$info must be array, bool used

This commit is contained in:
Ivor Barhansky 2023-01-12 03:21:13 +02:00
parent 84c0847178
commit f3bee1c3ac

View File

@ -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();