mirror of
https://github.com/kleeja-official/kleeja.git
synced 2025-12-16 04:59:42 +01:00
ignore conversion of false to array
This commit is contained in:
@@ -109,7 +109,7 @@ if (! ($config = $cache->get('data_config')))
|
|||||||
is_array($plugin_run_result = Plugins::getInstance()->run('qr_select_config_cache', get_defined_vars())) ? extract($plugin_run_result) : null; //run hook
|
is_array($plugin_run_result = Plugins::getInstance()->run('qr_select_config_cache', get_defined_vars())) ? extract($plugin_run_result) : null; //run hook
|
||||||
|
|
||||||
$result = $SQL->build($query);
|
$result = $SQL->build($query);
|
||||||
|
$config = [];
|
||||||
while ($row=$SQL->fetch_array($result))
|
while ($row=$SQL->fetch_array($result))
|
||||||
{
|
{
|
||||||
$config[$row['name']] = $row['value'];
|
$config[$row['name']] = $row['value'];
|
||||||
|
|||||||
Reference in New Issue
Block a user