Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MDL-56225 mod_forum: Fix inability to edit attachments
[moodle.git]
/
mod
/
forum
/
lib.php
diff --git
a/mod/forum/lib.php
b/mod/forum/lib.php
index
d64d319
..
79168f5
100644
(file)
--- a/
mod/forum/lib.php
+++ b/
mod/forum/lib.php
@@
-4428,6
+4428,7
@@
function forum_update_post($newpost, $mform, $unused = null) {
'timestart',
'timeend',
'pinned',
+ 'attachments',
];
foreach ($modifiablefields as $field) {
if (isset($newpost->{$field})) {