Merge branch 'MDL-59173-master' of git://github.com/tobiasreischmann/moodle

This commit is contained in:
Dan Poltawski 2017-06-19 12:27:43 +01:00
commit 6659c5ffba

View File

@ -1545,7 +1545,7 @@ class table_sql extends flexible_table {
* Of course you can use sub-queries, JOINS etc. by putting them in the
* appropriate clause of the query.
*/
function set_sql($fields, $from, $where, array $params = NULL) {
function set_sql($fields, $from, $where, array $params = array()) {
$this->sql = new stdClass();
$this->sql->fields = $fields;
$this->sql->from = $from;