From 0e655fd387d70cd7ca10a3fc98de1bb68ea0ee59 Mon Sep 17 00:00:00 2001 From: Dave Mc Nicoll Date: Fri, 3 Nov 2023 19:52:15 -0400 Subject: [PATCH] - Added a default action for print --- src/ControlStructure/SectionToken.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ControlStructure/SectionToken.php b/src/ControlStructure/SectionToken.php index f185079..fc2272d 100644 --- a/src/ControlStructure/SectionToken.php +++ b/src/ControlStructure/SectionToken.php @@ -33,6 +33,8 @@ class SectionToken implements ControlStructure { throw new \RuntimeException("A section closing tag {% endsection %} was found without an opening {% section %} tag"); } + $this->action = PrintActionEnum::default; + return $this->printEndSection($context); } }