raintpl3
raintpl3 copied to clipboard
RainTPL3 {include="file"} shows error
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
There was an error in the parse of the {include} tag. I just fixed and merged into master.
Thanks for reporting this issue.