Parser fails when iterating through data twice slightly differently |
[eluser]MrAzulay[/eluser]
Found what appears to be a bug (can't possibly see what I do wrong) in the parser of CodeIgniter. Doesn't work: Code: <ul> Code: <select> Works fine: Code: <ul> What is going on here?
[eluser]InsiteFX[/eluser]
Give the second one a different name, categories1 categories2 etc; Open up ./system/Parser.php and look at the code.
[eluser]MrAzulay[/eluser]
[quote author="InsiteFX" date="1360507337"]Give the second one a different name, categories1 categories2 etc; Open up ./system/Parser.php and look at the code. [/quote] Thanks InsiteFX, I think I see the problem. Kinda bothering to pass the same data twice though as it doesn't make much sense from the views perspective (and neither from the controller). Would be great with a fix for this or if anyone have any other suggestion.
[eluser]Aken[/eluser]
Not difficult to add, if someone wants to have a go: https://github.com/EllisLab/CodeIgniter/issues/2237
[eluser]MrAzulay[/eluser]
https://github.com/EllisLab/CodeIgniter/pull/2238 I gave it a shot, seems to work fine |
Welcome Guest, Not a member yet? Register Sign In |