Skip to content
Browse files

Merge branch 'w12_MDL-32079_m21_folderrev' of git://github.com/skodak…

…/moodle into MOODLE_21_STABLE
  • Loading branch information...
2 parents 8fafe29 + 16b879e commit d29f6ebcd34ac90b5febb76654dd4c9b91030e0e Sam Hemelryk committed Mar 20, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 mod/folder/edit.php
View
1 mod/folder/edit.php
@@ -58,6 +58,7 @@
} else if ($formdata = $mform->get_data()) {
$formdata = file_postupdate_standard_filemanager($formdata, 'files', $options, $context, 'mod_folder', 'content', 0);
+ $DB->set_field('folder', 'revision', $folder->revision+1, array('id'=>$folder->id));
redirect(new moodle_url('/mod/folder/view.php', array('id'=>$cm->id)));
}

0 comments on commit d29f6eb

Please sign in to comment.
Something went wrong with that request. Please try again.