mc12345678 / Dynamic_Price_Updater

This module for Zen Cart automatically updates the product price when a atrribute is added to the product
Other
0 stars 0 forks source link

Check text value against database constant. #23

Open mc12345678 opened 4 years ago

mc12345678 commented 4 years ago

The test for disabling version checking against the Zen Cart site incorrectly assumed that a string value of 'false' would reflect as a boolean value of false in an if statement. Not so.. It appears as a loose true because there is content and it is not a false.

Anyways, chose to compare against not equals false so that the available values could be modified to something else as desired by the site owner with the expectation that if it is 'false' then these lines should not be executed.