Skip to content

Commit 9084146

Browse files
author
Alexandra Nantel
committed
Fix compatibility warnings for PHP7
1 parent cb32bb0 commit 9084146

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fields/field.selectbox_link.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,7 @@ private function getRelatedFieldsId() {
962962
return explode(',', $related_field_id);
963963
}
964964

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

0 commit comments

Comments
 (0)