- Added a default action for print
This commit is contained in:
		
							parent
							
								
									5aa70dfd17
								
							
						
					
					
						commit
						0e655fd387
					
				| @ -33,6 +33,8 @@ class SectionToken implements ControlStructure { | |||||||
|                     throw new \RuntimeException("A section closing tag {% endsection %} was found without an opening {% section %} tag"); |                     throw new \RuntimeException("A section closing tag {% endsection %} was found without an opening {% section %} tag"); | ||||||
|                 } |                 } | ||||||
| 
 | 
 | ||||||
|  |                 $this->action = PrintActionEnum::default; | ||||||
|  | 
 | ||||||
|                 return $this->printEndSection($context); |                 return $this->printEndSection($context); | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user