Permalink
Browse files

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

…/moodle into MOODLE_22_STABLE
  • Loading branch information...
Sam Hemelryk
Sam Hemelryk committed Mar 19, 2012
2 parents cff8f5d + 96f953c commit e6c9fdb384005d729b4be278d1f97eebb6d76140
Showing with 1 addition and 0 deletions.
  1. +1 −0 mod/folder/edit.php
View
@@ -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 e6c9fdb

Please sign in to comment.