]> git.mjollnir.org Git - moodle.git/commitdiff
Merged recent fix from stable
authormoodler <moodler>
Sat, 7 Aug 2004 02:44:38 +0000 (02:44 +0000)
committermoodler <moodler>
Sat, 7 Aug 2004 02:44:38 +0000 (02:44 +0000)
mod/forum/post.php

index 4a14f3836282b25cb8ff33a32f6feb0ecad2dabf..69f4c1178b1da4bd8079c0c447d5e805b0a204bb 100644 (file)
     } else if (isset($reply)) {      // User is writing a new reply
 
         if (! $parent = forum_get_post_full($reply)) {
-            error("Parent post ID was incorrect ($reply)");
+            error("Parent post ID was incorrect");
         }
         if (! $discussion = get_record("forum_discussions", "id", $parent->discussion)) {
-            error("This post is not part of a discussion! ($reply)");
+            error("This post is not part of a discussion!");
         }
         if (! $forum = get_record("forum", "id", $discussion->forum)) {
             error("The forum number was incorrect ($discussion->forum)");