Skip to content
Permalink
Browse files

Fix failing tests.

  • Loading branch information...
markstory committed Jun 7, 2018
1 parent cc9d2fc commit 99d63752d01290f579c579f1699f4a504d7ceef9
Showing with 5 additions and 2 deletions.
  1. +5 −2 lib/Cake/Model/Datasource/DboSource.php
@@ -3043,8 +3043,11 @@ public function limit($limit, $offset = null) {
* @return string ORDER BY clause
*/
public function order($keys, $direction = 'ASC', Model $Model = null) {
$keys = array_filter((array)$keys);
if (!is_array($keys)) {
$keys = array($keys);
}
$keys = array_filter($keys);
$result = array();
while (!empty($keys)) {
$key = key($keys);

0 comments on commit 99d6375

Please sign in to comment.
You can’t perform that action at this time.