diff --git a/public/site/models/project.php b/public/site/models/project.php index 82286e1..1e9e828 100644 --- a/public/site/models/project.php +++ b/public/site/models/project.php @@ -7,7 +7,7 @@ class ProjectPage extends NotificationsPage { $apiCache = kirby()->cache('api'); $stepsData = $apiCache?->get($this->slug() . '_' . 'steps'); - if ($stepsData === null || count($stepsData) > 0) { + if ($stepsData === null || count($stepsData) === 0) { $this->rebuildStepsCache(); };