mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
Fixing typo.
This commit is contained in:
parent
5978010dd2
commit
540286f1f2
@ -726,7 +726,7 @@ function xmldb_main_upgrade($oldversion=0) {
|
||||
if ($data = get_records('user_info_data', 'fieldid', $field->id)) {
|
||||
|
||||
/// Get the menu options
|
||||
$options = explode("\n", $this->field->param1);
|
||||
$options = explode("\n", $field->param1);
|
||||
foreach ($data as $d) {
|
||||
$key = array_search($d->data, $options);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user