Browse Source

Merge pull request #26 from EngineGPDev/PHP-Deprecated-Automatic-conversion-of-false-to-array-is-deprecated-in-C-MyPrograms-OSPanel-domains-enginegp.local-system-acp-sections-boost-index.php-on-line-40

PHP Deprecated:  Automatic conversion of false to array is deprecated…
Sergei Solovev 2 năm trước cách đây
mục cha
commit
ac6ba7cb5e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      system/acp/sections/boost/index.php

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

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