From 7f0c3a44e4e7d32503a67013642fee92ce9319d8 Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 29 Oct 2003 09:16:12 +0000 Subject: [PATCH] Oops, typo --- mod/forum/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/forum/lib.php b/mod/forum/lib.php index 3482c49e78..fe6602f14b 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -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; } -- 2.39.5