Automatic conversion of false to array is deprecated

This commit is contained in:
Sergei Solovev 2023-03-20 00:30:52 +03:00
parent 13ec600318
commit 587db28295

View file

@ -32,8 +32,9 @@
$aData = $mcache->get('data_boost_all');
if($aData === false || !is_array($aData))
if(!is_array($aData))
{
$aData = array();
$sql->query('SELECT SUM(`circles`), SUM(`money`) FROM `boost`');
$data = $sql->get();