Notifications
Clear all
Topic starter
Hi.
This issue has no real effects, but I like clean code.
In saveRestictTypes on $status ='ERROR' you would print $errors variable , that is uninitialized. It's not dangerous as that condition has already been handled in previous lines, where a $status ='ERROR' exits the action.
Best regards
Posted : 29 Mar 2017 18H28
You're right.
$error has been replaced with $result (last result message that should contain the error).
But the lines will then not been reached as code exists on first error 😉
Thanks for reporting.
Posted : 29 Mar 2017 19H11