$res1['blogdata']

This commit is contained in:
CHIEFSOFT\ameye
2025-03-31 13:04:26 -04:00
parent 2cd96a3820
commit cf59329534
+1 -1
View File
@@ -52,7 +52,7 @@ class WrenchBlog extends BaseController
$endpoint = "WRENCH_BLOG_DATA";
$res1 = $this->getCache($endpoint);
$do_newRead = true;
if (isset($res1) && is_array($res1) && count($res1) > 0){
if (isset($res1) && is_array($res1) && count($res1) > 0 && isset($res1['blogdata']) && is_array($res1['blogdata']) && count($res1['blogdata']) > 0){
$do_newRead = false;
}
if ($do_newRead){