mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-14679 fixed incorrect fields param
This commit is contained in:
parent
dc5af91a86
commit
0208b97cb6
@ -521,7 +521,7 @@ abstract class moodle_database {
|
||||
if ($sort) {
|
||||
$sort = " ORDER BY $sort";
|
||||
}
|
||||
return $this->get_recordset_sql("SELECT * FROM {$this->prefix}$table $select $sort", $params, $limitfrom, $limitnum);
|
||||
return $this->get_recordset_sql("SELECT $fields FROM {$this->prefix}$table $select $sort", $params, $limitfrom, $limitnum);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user