Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parse pusher supports pushing to all installations at once using "where" : "{}", however with php sdk it's not possible, if you don't pass a where query it will throw "'Missing the push channels.", if an empty ParseQuery is used, "undefined index where" is thrown. This patch aim to pass a "{}" if an empty parse query object is passed.
- Loading branch information
8e7d135
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi! It seens there is a typo here, $query_where is not defined. It results that 'where' option to ParsePush::send is ignored. Related to #167
8e7d135
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Argh... good catch.. Can you send in a PR to fix that to be $where_options instead of $query_where?