Dev (#37)
* Adding filp/whoops * FIX: Automatic conversion of false to array is deprecated
This commit is contained in:
parent
c6c3ce0627
commit
0fb732993b
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