diff --git a/src/Compiler/Template.php b/src/Compiler/Template.php index efc52162b..a985eed5c 100644 --- a/src/Compiler/Template.php +++ b/src/Compiler/Template.php @@ -506,7 +506,7 @@ public function compileModifier($modifierlist, $value) { * @return string */ public function triggerTagNoCache($variable): void { - if (!strpos($variable, '(')) { + if (strpos($variable, '(') === false) { // not a variable variable $var = trim($variable, '\''); $this->tag_nocache = $this->tag_nocache |