Quote:
Originally Posted by kh99
I think the problem is the preRegister statement, it should be like this:
|
Good eye! Yep, preregister variables are merged into an existing array with the template name being the key. So it must be in an array. I was concentrating on the compilation problem, so I didn't even notice. Thanks, I would have missed it.
The current problem, is the parsing of the vbulletin conditional when using safe_function "in_array" -- it is failing validation. I have fixed this problem at work so when I get a chance I am going to snoop at my code.
With your fix, his code should work, if he forces a save of the template.