mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
MDL-14967 fixed syntax error
This commit is contained in:
parent
5c75a0a3b4
commit
785720d662
@ -48,7 +48,7 @@ $strdelete = get_string('delete');
|
||||
|
||||
$data = array();
|
||||
$params = array($course->id, $USER->id);
|
||||
if ($keys = $DB->get_records_select('user_private_key', "script='grade/import' AND instance=? AND userid=?"), $params) {
|
||||
if ($keys = $DB->get_records_select('user_private_key', "script='grade/import' AND instance=? AND userid=?", $params)) {
|
||||
foreach($keys as $key) {
|
||||
$line = array();
|
||||
$line[0] = format_string($key->value);
|
||||
|
Loading…
x
Reference in New Issue
Block a user