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

Bugfix: DB_query_builder order_by / count_all_results #5301

Closed
wants to merge 1 commit into from

Conversation

webwerken
Copy link

@webwerken webwerken commented Oct 15, 2017

The default type for $this->qb_orderby and $this->qb_cache_orderby is an empty array.
Setting it to NULL in method 'count_all_results' causes an error on line 1238 when trying to merge it with newly added values.
The other option to prevent this would be to check before merging or to typecast.

The default for $this->qb_orderby = $this->qb_cache_orderby should be an empty array. Setting it to NULL causes an error on line 1238 when trying to merge it with new values.
@webwerken webwerken changed the title Bugfix: wrong type for $this->qb_orderby = $this->qb_cache_orderby Bugfix: DB_query_builder order_by / count_all_results Oct 15, 2017
@gxgpet
Copy link
Contributor

gxgpet commented Oct 15, 2017

Duplicate of #5282, which looks like it was merged into 3.1-stable, and not develop. You are also trying to merge something directly into the master branch. See here for more details.

@webwerken
Copy link
Author

OK. Missed that one. Glad is was already fixed.

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

Successfully merging this pull request may close these issues.

None yet

3 participants