View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Undefined $errors in saveRestictTypes - ProjeQtOr

Prochaines sessions de formation

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)

Mardi 23 avril (10h30-12h)

Jeudi 16 mai (16h-17h30)

Jeudi 13 juin (10h30-12h)

 
 

Planifiez avec ProjeQtOr

3 et 4 avril (9h - 12h30)

 
 

Administrez avec ProjeQtOr

10 et 11 avril (9h - 12h30)

 

 

 
 

Undefined $errors in saveRestictTypes

More
29 Mar 2017 16:28 #1 by antonio.grr
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

Please Connexion or Create an account to join the conversation.

More
29 Mar 2017 17:11 #2 by babynus
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.

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.030 seconds

Paramétrages de cookies

×

Cookies fonctionnels

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Veuillez vous connecter pour voir vos activités!

Autres cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.