Forum

Mispelled argument
 
Notifications
Retirer tout

Mispelled argument

2 Posts
2 Utilisateurs
0 Reactions
3,483 Vu
(@antonio-grr)
Posts: 84
Estimable Member
Début du sujet
 
[#4367]

Hi.
In function upgradeProductVersionStructure(strucutreId, withoutConfirm) of projequtoDialog.js you see the first argument mispelled.
I could be a don't care ( what's in a name ?), but the url argument follows
if (strucutreId)
params += "&strucutreId=" + strucutreId;
Also this could be ignored as in upgradeProductVersionStructure.php the request is mispelled
$strId=RequestHandler::getId('strucutreId',false);

but in function upgradeProductVersionStructure you find also

if (upgradeProductVersionStructureId)
params += "&structureId=" + upgradeProductVersionStructureId;
so you get a mismatch.
You can fix as you like, but I suggest to use the right spelling everywhere.
Best regards


 
Posté : 19/05/2017 6:33 pm
(@babynus)
Posts: 14952
Membre Admin
 

Your are right (have really have hawk eyes 😉 )
We fixed it the way you suggest (best way by the way)


 
Posté : 19/05/2017 7:01 pm
Share:
Retour en haut