Jump to content

SOLVED Checking 3 digit PrestaShop with version_compare $25.00 USD Reward


El Patron

Recommended Posts

When I use:

 if (version_compare(_PS_VERSION_, '1.4.9', '='))
...do something

Is never true on a 1.4.9.0 installation.

 

 if (version_compare(_PS_VERSION_, '1.4.9.0', '='))
...do something

 

Returns true on a 1.4.9.0 installation

 

I need (well would like) the first example 3 character check to return true on a 1.4.9.x installation.

 

$25.00 USD paypal payment to anyone that provides a proper solution to this.

Edited by elpatron (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...