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); } }