Skip to content

Commit

Permalink
Merge branch 'MDL-69902' of https://github.com/marinaglancy/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
snake committed Oct 21, 2020
2 parents 3d0f28e + be53990 commit 127befd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/classes/search/customfield.php
Expand Up @@ -66,7 +66,7 @@ public function get_document_recordset($modifiedfrom = 0, \context $context = nu
if (!$fields) {
$fields = array();
}
list($fieldsql, $fieldparam) = $DB->get_in_or_equal(array_keys($fields), SQL_PARAMS_NAMED, 'fld', true, true);
list($fieldsql, $fieldparam) = $DB->get_in_or_equal(array_keys($fields), SQL_PARAMS_NAMED, 'fld', true, 0);

// Restrict recordset to CONTEXT_COURSE (since we are implementing it to core_course\search).
$sql = "SELECT d.*
Expand Down

0 comments on commit 127befd

Please sign in to comment.