Skip to content

Commit

Permalink
Merge pull request parse-community#171 from sahanh/patch-1
Browse files Browse the repository at this point in the history
variable naming fix. regarding parse-community#165 parse-community#167
  • Loading branch information
gfosco committed Oct 27, 2015
2 parents 2c62e8b + b6b4daa commit 5b1e047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Parse/ParsePush.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static function send($data, $useMasterKey = false)
if ($data['where'] instanceof ParseQuery) {
$where_options = $data['where']->_getOptions();

if (!isset($query_where['where'])) {
if (!isset($where_options['where'])) {
$data['where'] = '{}';
} else {
$data['where'] = $data['where']->_getOptions()['where'];
Expand Down

0 comments on commit 5b1e047

Please sign in to comment.