Skip to content

Commit

Permalink
Merge branch 'MDL-59173-master' of git://github.com/tobiasreischmann/…
Browse files Browse the repository at this point in the history
…moodle
  • Loading branch information
danpoltawski committed Jun 19, 2017
2 parents 4469ae9 + 4acb33f commit 6659c5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tablelib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1545,7 +1545,7 @@ function set_count_sql($sql, array $params = NULL) {
* 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;
Expand Down

0 comments on commit 6659c5f

Please sign in to comment.