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

Error at line 199 of includes/classes/dynamic_price_updater.php #6

Closed mc12345678 closed 7 years ago

mc12345678 commented 7 years ago

At this line, the value being compared/reviewed is not cast to nor ensured to be a number that can be looked up in the SQL query and therefore the query appears as products_options_values_id =

and no value to the right of it. This should be changed to casting the $value to an integer instead or use bindVars so that the number of 0 will show up on the line instead of possibly an error being thrown.

mc12345678 commented 7 years ago

This has been corrected in version 3.0.4 and is being closed.