ignore conversion of false to array

This commit is contained in:
Mitan Omar
2022-08-24 00:18:57 +02:00
parent 3dbb60870b
commit bf288770a1

View File

@@ -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
$result = $SQL->build($query);
$config = [];
while ($row=$SQL->fetch_array($result))
{
$config[$row['name']] = $row['value'];