From 4abdd297095f93633ceff20c55edb7ad6596584d Mon Sep 17 00:00:00 2001 From: Roman Axelrod Date: Fri, 9 Dec 2022 19:56:49 +0200 Subject: [PATCH] Add FLAG::THIS in PHP builder. --- platforms/php/build.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/php/build.php b/platforms/php/build.php index 0e2d1d8..bb1d822 100644 --- a/platforms/php/build.php +++ b/platforms/php/build.php @@ -81,7 +81,7 @@ class Component_Builder { $template = file_get_contents( $path ); $phpStr = LightnCandy::compile( $template, [ - 'flags' => Flags::FLAG_NOESCAPE | Flags::FLAG_PARENT | Flags::FLAG_SPVARS | Flags::FLAG_ELSE | Flags::FLAG_JSLENGTH | Flags::FLAG_JSTRUE, + 'flags' => Flags::FLAG_NOESCAPE | Flags::FLAG_PARENT | Flags::FLAG_SPVARS | Flags::FLAG_ELSE | Flags::FLAG_JSLENGTH | Flags::FLAG_JSTRUE | Flags::FLAG_THIS, 'helpers' => $this->custom_handlebars ?? [], ] );