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:
ef5a821
)
MDL-37572 course: fixed bug when moving categories
author
Sam Hemelryk
<sam@moodle.com>
Wed, 6 Feb 2013 23:29:03 +0000
(12:29 +1300)
committer
Sam Hemelryk
<sam@moodle.com>
Wed, 6 Feb 2013 23:29:03 +0000
(12:29 +1300)
course/manage.php
patch
|
blob
|
blame
|
history
diff --git
a/course/manage.php
b/course/manage.php
index
c3bb872
..
54763f8
100644
(file)
--- a/
course/manage.php
+++ b/
course/manage.php
@@
-215,7
+215,7
@@
if (isset($category) && $canmanage && $resort && confirm_sesskey()) {
}
}
-if (!empty($moveto) &&
$data = data_submitted(
) && confirm_sesskey()) {
+if (!empty($moveto) &&
($data = data_submitted()
) && confirm_sesskey()) {
// Move a specified course to a new category.
// User must have category update in both cats to perform this.
require_capability('moodle/category:manage', $context);