raintpl3 icon indicating copy to clipboard operation
raintpl3 copied to clipboard

RainTPL3 {include="file"} shows error

Open ghost opened this issue 11 years ago • 1 comments

In my main template file I write this: {include="header"} It includes the header.html file, but displays this: Warning: Invalid argument supplied for foreach() in D:\xampp\htdocs\library\Rain\Tpl\Parser.php on line 368

ghost avatar Nov 06 '13 01:11 ghost

There was an error in the parse of the {include} tag. I just fixed and merged into master.

Thanks for reporting this issue.

feulf avatar Nov 10 '13 18:11 feulf