From 3a9c213d863062efa30b3bfabfacd67a3b15bf85 Mon Sep 17 00:00:00 2001 From: isUnknown Date: Tue, 27 May 2025 12:19:17 +0200 Subject: [PATCH] fix --- public/site/models/project.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); };