Merge branch 'MDL-67773-master' of https://github.com/radzisze/moodle
This commit is contained in:
+1
-1
@@ -2472,7 +2472,7 @@ function update_course($data, $editoroptions = NULL) {
|
||||
// The summary might be very long, we don't wan't to fill up the log record with the full text.
|
||||
$updatedfields[$field] = '(updated)';
|
||||
}
|
||||
} else if ($field == 'tags' && !empty($CFG->usetags)) {
|
||||
} else if ($field == 'tags' && isset($data->tags)) {
|
||||
// Tags might not have the same array keys, just check the values.
|
||||
if (array_values($data->$field) !== array_values($value)) {
|
||||
$updatedfields[$field] = $data->$field;
|
||||
|
||||
Reference in New Issue
Block a user