Bug fixes

This commit is contained in:
vyshane
2006-09-25 13:05:18 +00:00
parent 2e0c11dda3
commit 7fa8296f01
+2 -2
View File
@@ -47,7 +47,7 @@
if (!empty($move)) {
if (has_capability('mod/forum:movediscussions', $modcontext)) {
if (!has_capability('mod/forum:movediscussions', $modcontext)) {
error("You do not have the permission to move this discussion!");
}
if ($forum = get_record("forum", "id", $move)) {
@@ -74,7 +74,7 @@
'destination forum(s) - check your file permissionsforums');
}
} else {
error("You can't move to that forum - it doesn't exist!");
error('You can't move to that forum - it doesn't exist!');
}
}