Oops, typo

This commit is contained in:
moodler
2003-10-29 09:16:12 +00:00
parent 7e224207d0
commit 7f0c3a44e4
+1 -1
View File
@@ -1559,7 +1559,7 @@ function forum_move_attachments($discussion, $forumid) {
if (is_dir($oldpostdir)) {
$newpost = $oldpost;
$newpost->forum = $forumid;
$newpostdir = "$CFG->dataroot/".forum_file_area($newpost);
$newpostdir = forum_file_area($newpost);
if (! @rename($oldpostdir, $newpostdir)) {
$return = false;
}