This commit is contained in:
CHIEFSOFT\ameye
2024-11-09 20:01:36 -05:00
parent 3affada3fa
commit 1d85dc1912
+1 -1
View File
@@ -93,7 +93,7 @@ class WrenchBanners extends BaseController
if ($in["nocache"]) $this->deleteCache($endpoint);
$out = $this->getCache($endpoint); // try find in cache
if ( count($out) == 0 ){
if ( !is_array($out) || count($out) == 0 ){
$ret = $this->wrenchboard->wrenchboard_api($in, $out);
$out['internal_return'] = $ret;
log_message('critical', "usersBanners ********* ALL ".serialize($out) );