Forum

Product Versions
 
Notifications
Retirer tout

Product Versions

2 Posts
2 Utilisateurs
0 Reactions
2,207 Vu
(@andyb)
Posts: 12
Active Member
Début du sujet
 
[#5611]

If I try to save a product version, it fails with a big red error.

Looking in the error log then it seems to be this query which fails:

select count(*) as cpt from version where idProduct=1 and versionNumber='1.0' and id!=-1

I've highlighted the part which fails in bold

which is at line 458 in the file /model/Version.php:458

If I amend the code to put a space between the = and - then it work successfully

select count(*) as cpt from version where idProduct=1 and versionNumber='1.0' and id!= -1


 
Posté : 7 Déc AM 01:1212
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

Thanks for posting issue and fix.
Fix will be included in next patch.

Thanks


 
Posté : 7 Déc PM 12:1212
Share:
Retour en haut