Wrong array index in doctypes array? |
[eluser]Kamape[/eluser]
Hi! Is it just me or is the corresponding doctype array in doctypes.php not matching the default index choice in the html_helper doctype() function? The actual declaration is: Code: function doctype($type = 'xhtml-strict') But should be (according to the array) Code: function doctype($type = 'xhtml1-strict') Is it just me who's having this "misspelling" ? Or maybe I'm not the first noticing this?
[eluser]John_Betong[/eluser]
Solution: http://ellislab.com/forums/viewthread/119029/
[eluser]Kamape[/eluser]
[quote author="John_Betong" date="1248255723"] Solution: http://ellislab.com/forums/viewthread/119029/ [/quote] I don't quite understand? This is still a core bug and I don't need a solution to the problem that's only letting me change the default associated index. This thread is only a temporary solution.
[eluser]John_Betong[/eluser]
[quote author="Kamape" date="1248257052"][quote author="John_Betong" date="1248255723"] Solution: http://ellislab.com/forums/viewthread/119029/ [/quote] I don't quite understand? This is still a core bug and I don't need a solution to the problem that's only letting me change the default associated index. This thread is only a temporary solution.[/quote] Please ignore my post. The reason is that I searched for "doctype()", found a few posts and re-posted my solution in the wrong forum. Maybe I should edit my post and call it a kludge?
[eluser]Kamape[/eluser]
[quote author="John_Betong" date="1248259858"][quote author="Kamape" date="1248257052"][quote author="John_Betong" date="1248255723"] Solution: http://ellislab.com/forums/viewthread/119029/ [/quote] I don't quite understand? This is still a core bug and I don't need a solution to the problem that's only letting me change the default associated index. This thread is only a temporary solution.[/quote] Please ignore my post. The reason is that I searched for "doctype()", found a few posts and re-posted my solution in the wrong forum. Maybe I should edit my post and call it a kludge? [/quote] NP. Hope that the bug change is made to the Core though. It's always frustrating whenever you need to search for error-pron syntax bugs.
[eluser]Derek Allard[/eluser]
Sorry you got bit by this. I fixed up the error in April (in the SVN) but it hasn't made its way into the general release yet.
|
Welcome Guest, Not a member yet? Register Sign In |