Skip to content

Commit f6c911b

Browse files
author
Alexandra Nantel
committed
Remove deprecated param from buildSortingSQL
1 parent e889476 commit f6c911b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fields/field.textbox.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,7 @@ public function buildDSRetrievalSQL($data, &$joins, &$where, $andOperation = fal
962962
Sorting:
963963
-------------------------------------------------------------------------*/
964964

965-
public function buildSortingSQL(&$joins, &$where, &$sort, $order = 'ASC', &$select = NULL) {
965+
public function buildSortingSQL(&$joins, &$where, &$sort, $order = 'ASC') {
966966
if (in_array(strtolower($order), array('random', 'rand'))) {
967967
$sort = 'ORDER BY RAND()';
968968
}

0 commit comments

Comments
 (0)