diff --git a/Plugin.php b/Plugin.php index d321b93..15344b2 100644 --- a/Plugin.php +++ b/Plugin.php @@ -285,7 +285,7 @@ protected function extendCmsRenderer(): void * Get rendered content */ $contents = Controller::instance()->getPageContents($page); - if (strlen($contents)) { + if (!empty($contents)) { return $contents; } });