Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61506a0
)
MDL-33098 filemanager now stores the new author field correctly
author
David Mudrak
<david@moodle.com>
Fri, 18 May 2012 13:42:30 +0000
(15:42 +0200)
committer
Marina Glancy
<marina@moodle.com>
Mon, 21 May 2012 03:57:56 +0000
(11:57 +0800)
repository/draftfiles_ajax.php
patch
|
blob
|
blame
|
history
diff --git
a/repository/draftfiles_ajax.php
b/repository/draftfiles_ajax.php
index
246f66c
..
3857a0d
100644
(file)
--- 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)) {