From b53fad1e8b1b5c77454587fa85046b10903233c9 Mon Sep 17 00:00:00 2001 From: David Mudrak Date: Fri, 18 May 2012 15:42:30 +0200 Subject: [PATCH] MDL-33098 filemanager now stores the new author field correctly --- repository/draftfiles_ajax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/draftfiles_ajax.php b/repository/draftfiles_ajax.php index 246f66c559e..3857a0da965 100644 --- a/repository/draftfiles_ajax.php +++ b/repository/draftfiles_ajax.php @@ -154,7 +154,7 @@ switch ($action) { $file->set_license($updatedata['license']); } if (array_key_exists('author', $updatedata)) { - $file->set_license($updatedata['author']); + $file->set_author($updatedata['author']); } $changes = array_diff(array_keys($updatedata), array('filepath')); if (!empty($changes)) { -- 2.43.0