Skip to content

[3.0.x.x] Undefined variable: $data- upload model#13436

Merged
AJenbo merged 1 commit intoopencart:3.0.x.xfrom
condor2:patch-5
Jan 6, 2024
Merged

[3.0.x.x] Undefined variable: $data- upload model#13436
AJenbo merged 1 commit intoopencart:3.0.x.xfrom
condor2:patch-5

Conversation

@condor2
Copy link
Copy Markdown
Contributor

@condor2 condor2 commented Jan 6, 2024

No description provided.

@TheCartpenter
Copy link
Copy Markdown
Contributor

Already fixed in opencart-3. The core shows a mandatory array, not an optional parameter for this method.

@TheCartpenter
Copy link
Copy Markdown
Contributor

Looks like it's optional after all. Corrected it, now.

@condor2
Copy link
Copy Markdown
Contributor Author

condor2 commented Jan 6, 2024

Why only $data and not $data = array ?
Is like getTotalProducts from product model

@TheCartpenter
Copy link
Copy Markdown
Contributor

Why only $data and not $data = array ? Is like getTotalProducts from product model

Replied on the above.

@condor2
Copy link
Copy Markdown
Contributor Author

condor2 commented Jan 6, 2024

Posted at the same time :)

@AJenbo AJenbo merged commit f3fc2f9 into opencart:3.0.x.x Jan 6, 2024
@condor2 condor2 deleted the patch-5 branch January 6, 2024 21:14
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

Successfully merging this pull request may close these issues.

3 participants