Defect: Process Form code
I'm using Tikiwiki 1.9.2 and have come across the following defect:
When creating an interactive activity that processes a form, the 'Admin Process Sources' page has a link 'Process form' which inserts the following code fragment:
Copy to clipboard
if(isset($_REQUEST['save']){ $instance->complete(); }
There is a missing close brace ) which means that the 'if' statement is never executed as true. The result is that no form will be processes, and typically the user will not be able to click the 'save' button and move the actvivity onto the next state.
To workaround this defect, change the code fragment to:
Copy to clipboard
if(isset($_REQUEST['save'])){ $instance->complete(); }
Maybe some of the developers could flag this into the project bug tracking system for inclusion in a future release?
Thanks.