PLEASE PROVIDE THE TEMPLATES AND/OR PHP CODE IN THE TASK DESCRIPTION (Not URL-s to them). THAT ALLOWS US TO REPRODUCE THE PROBLEM! OTHERWISE WE ARE NOT ABLE TO HELP YOU!
Remember to hide all the security-related pieces of code from the task description, like passwords, server paths etc. for your own safety. Once we close the task, we cannot edit it anymore!
FS#65 - opt:separator in opt:selector produces invalid PHP code
Opened by Zyx (Zyx) - Tuesday, 10 March 2009, 06:45 GMT-8
Last edited by Zyx (Zyx) - Sunday, 22 March 2009, 01:40 GMT-8
The following code:
Makes the script crash, because the generated PHP code is invalid:
Parse error: syntax error, unexpected T_IF, expecting T_CASE or T_DEFAULT or '}' in /../template.tpl.php on line xx
The problem is that opt:separator adds the extra PHP code that breaks the switch() command in opt:selector.
Sunday, 22 March 2009, 01:40 GMT-8
Reason for closing: Fixed
Additional comments about closing: Fixed in rev. 66.