diff --git a/bundle/View/Builder/TagViewBuilder.php b/bundle/View/Builder/TagViewBuilder.php index 014138cb..c527082b 100644 --- a/bundle/View/Builder/TagViewBuilder.php +++ b/bundle/View/Builder/TagViewBuilder.php @@ -73,7 +73,7 @@ public function __construct( */ public function matches($argument) { - return strpos($argument, 'eztags.controller.tag_view:') !== false; + return is_string($argument) && strpos($argument, 'eztags.controller.tag_view:') !== false; } /**