Drupal 5.10, Ubercart 5.x-1.3, Workflow_ng 5.x-2.1
I'm getting an error twice when doing a 'Receive Check' (.../admin/store/orders/##/receive_check) or posting a check payment (.../admin/store/orders/##/payments) for a payment amount equal to the account balance. However, if the payment amount is less than the account balance, the error does not occur.
[I have added custom PHP code in Workflow_ng to both 'Update order status on completed checkout' and 'Update order status on full payment'. It appears that the code is executed OK regardless of whether or not the error occurs. In fact, the error was occurring before I added the custom PHP code.]
These are the two identical error messages that are displayed:
Parse error: syntax error, unexpected ':' in ...\sites\all\modules\workflow_ng\workflow_ng\modules\workflow_ng_workflow_ng.inc(76) : eval()'d code on line 3 Parse error: syntax error, unexpected ':' in ...\sites\all\modules\workflow_ng\workflow_ng\modules\workflow_ng_workflow_ng.inc(76) : eval()'d code on line 3
This is the code referenced at line 76:
function workflow_ng_custom_php_eval($code, $argument_data) {
extract($argument_data);
return eval($code);
}Anyone have some thoughts on what might be causing this error and how to eliminate it?
Thanks in advance!
