Skip to content

Commit

Permalink
Merge pull request #9767 from monishdeb/CRM-19957
Browse files Browse the repository at this point in the history
CRM-19957: DB Syntax Error on all Search Form submission
  • Loading branch information
eileenmcnaughton authored Feb 3, 2017
2 parents 57d4438 + 53af9db commit aafc57b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Contact/BAO/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -6224,7 +6224,7 @@ protected function prepareOrderBy($sort, $sortByChar, $sortOrder, $additionalFro
$order = CRM_Utils_Type::escape($order, 'MysqlOrderBy');
return array(' ORDER BY ' . $order, $additionalFromClause);
}
return array(' ORDER BY ' . $order, $additionalFromClause);
return array($order, $additionalFromClause);
}

/**
Expand Down

0 comments on commit aafc57b

Please sign in to comment.