Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
17056bf
)
Merge branch 'MDL-69902-310' of https://github.com/marinaglancy/moodle into MOODLE_31...
author
Jake Dallimore
<jake@moodle.com>
Wed, 21 Oct 2020 02:57:35 +0000
(10:57 +0800)
committer
Jake Dallimore
<jake@moodle.com>
Wed, 21 Oct 2020 02:57:35 +0000
(10:57 +0800)
course/classes/search/customfield.php
patch
|
blob
|
blame
|
history
diff --git
a/course/classes/search/customfield.php
b/course/classes/search/customfield.php
index
1d62aac
..
19fa1c2
100644
(file)
--- a/
course/classes/search/customfield.php
+++ b/
course/classes/search/customfield.php
@@
-66,7
+66,7
@@
class customfield extends \core_search\base {
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.*