Notifications
Retirer tout
Submit issues
2
Posts
2
Utilisateurs
0
Reactions
2,182
Vu
Début du sujet
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
Posté : 29 Mar PM 18:033
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.
Posté : 29 Mar PM 19:033