From 587db2829572a69b2918e139eb3617eeacbc7741 Mon Sep 17 00:00:00 2001 From: Sergei Solovev Date: Mon, 20 Mar 2023 00:30:52 +0300 Subject: [PATCH] Automatic conversion of false to array is deprecated --- system/acp/sections/boost/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/system/acp/sections/boost/index.php b/system/acp/sections/boost/index.php index 6f6d4f3..77c1ff5 100644 --- a/system/acp/sections/boost/index.php +++ b/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();