Explorar o código

Dev (#37)

* Adding filp/whoops

* FIX: Automatic conversion of false to array is deprecated
Sergei Solovev %!s(int64=2) %!d(string=hai) anos
pai
achega
0fb732993b
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      system/acp/sections/boost/index.php

+ 2 - 1
system/acp/sections/boost/index.php

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