Merge branch 'MDL-49244-master' of git://github.com/jleyva/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2016-07-05 20:16:44 +02:00
commit e51f7a6a20
2 changed files with 11 additions and 1 deletions

View file

@ -1552,7 +1552,7 @@ class core_course_external extends external_api {
}
if (isset($value)) {
$conditions[$key] = $crit['value'];
$conditions[$key] = $value;
$wheres[] = $key . " = :" . $key;
}
}