Forum

Product Versions
 
Notifications
Clear all

Product Versions

2 Posts
2 Users
0 Reactions
2,208 Views
(@andyb)
Posts: 12
Active Member
Topic starter
 
[#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


 
Posted : 07 Dec 2018 1H56
(@babynus)
Posts: 14952
Member Admin
 

Hi,

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

Thanks


 
Posted : 07 Dec 2018 12H31
Share:

Scroll to Top