Forum

[SOLVED] API script...
 
Notifications
Retirer tout

[SOLVED] API script modified after the upgrade

2 Posts
2 Utilisateurs
0 Reactions
2,519 Vu
(@sogeti)
Posts: 135
Active Member
Début du sujet
 
[#5478]

Hello,

We have just upgrade ProjeQtOr.
We have switched from 7.0.8 to 7.1.5.
We are using an API and have faced a problem using it after the upgrade.
We then realized that the api script of the new version is slightly different.
Here is the difference :
Old version :
--------------------------------------------------------------
if (count($split>1)) {
--------------------------------------------------------------
New version :
if (count($split)>1) {
---------------------------------------------------------------
We modified the script and are now able to use the api.

My question is to know if this will have an impact on the other upgrade we may need to realize ?
Also, is it normal to have this difference ?

Thank you in advance.


 
Posté : 10 Oct PM 17:1010
(@babynus)
Posts: 14952
Membre Admin
 

It was a fix.

if (count($split>1)) {

is always right : the closing parenthesis is not at the good place

If your calls fail using correct syntax, it means the way you call the API is wrong.


 
Posté : 11 Oct PM 18:1010
Share:
Retour en haut