diff --git a/www-api/app/Controllers/WrenchBlog.php b/www-api/app/Controllers/WrenchBlog.php index 5db9508c..f779aa59 100644 --- a/www-api/app/Controllers/WrenchBlog.php +++ b/www-api/app/Controllers/WrenchBlog.php @@ -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){