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

Mismatch between arrays with different initial indexes at get_variable_priced_bundled_downloads() #9688

Open
goncalovf opened this issue Oct 23, 2023 · 0 comments · May be fixed by #9689
Open
Labels
type-bug workflow-needs-replication workflow-pending-triage Items that need to be triaged and reviewed before they are worked on.

Comments

@goncalovf
Copy link

goncalovf commented Oct 23, 2023

Bug Report

In includes/admin/downloads/views/metabox-bundled-products.php, the value for the _edd_bundled_products_conditions meta is inserted as an array of initial index of 1, instead of 0 (see here). This creates a mistmatch at EDD_Download->get_variable_priced_bundled_downloads(), where we're using an index of _edd_bundled_products_conditions to select a download from an array of initial index of 0.

Information (if a specific version is affected):

EDD Version (or branch): 3.2.3

Any other relevant information:
Happens in the Pro plugin as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug workflow-needs-replication workflow-pending-triage Items that need to be triaged and reviewed before they are worked on.
Projects
None yet
1 participant