Skip to content

Commit

Permalink
MDL-14905 Finished all basic tests. It should now be easy to extend t…
Browse files Browse the repository at this point in the history
…hese tests with more boundary conditions
  • Loading branch information
nicolasconnault committed Jun 20, 2008
1 parent c020cec commit 50a12c8
Show file tree
Hide file tree
Showing 2 changed files with 439 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/dml/moodle_database.php
Expand Up @@ -865,7 +865,7 @@ public function get_field_select($table, $return, $select, array $params=null) {
if ($select) {
$select = "WHERE $select";
}
return $this->get_field_sql("SELECT $return FROM {$this->prefix}$table $select", $params);
return $this->get_field_sql("SELECT $return FROM {" . $table . "} $select", $params);
}

/**
Expand Down

0 comments on commit 50a12c8

Please sign in to comment.