Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status change when download file exist #661

Open
tgely opened this issue Jun 6, 2020 · 0 comments
Open

Status change when download file exist #661

tgely opened this issue Jun 6, 2020 · 0 comments

Comments

@tgely
Copy link
Contributor

tgely commented Jun 6, 2020

// do not decrement quantities if products_attributes_filename exists
if ((DOWNLOAD_ENABLED != 'true') || tep_not_null($Qstock->value('products_attributes_filename'))) {

So !tep_not_null() would be better as v2.3 used

// do not decrement quantities if products_attributes_filename exists
if ((DOWNLOAD_ENABLED != 'true') || (!$stock_values['products_attributes_filename'])) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant