Automatic conversion of false to array is deprecated
This commit is contained in:
parent
13ec600318
commit
587db28295
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue