* Adding filp/whoops

* FIX: Automatic conversion of false to array is deprecated
This commit is contained in:
Sergei Solovev 2023-03-20 00:20:13 +03:00 committed by GitHub
parent c6c3ce0627
commit 0fb732993b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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