diff --git a/src/WorkspaceHelper.php b/src/WorkspaceHelper.php index a1ccd36f..82b6f768 100644 --- a/src/WorkspaceHelper.php +++ b/src/WorkspaceHelper.php @@ -266,6 +266,7 @@ public static function checkPermission($element, $type, string $elementType = '' if (!$element) { $permissionCache[$cid] = true; RuntimeCache::set(__METHOD__, $permissionCache); + return $permissionCache[$cid]; }