From 29ad118c2fc5c3820f2cda5fa9a9709c33d90612 Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 7 Aug 2004 02:44:38 +0000 Subject: [PATCH] Merged recent fix from stable --- mod/forum/post.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/forum/post.php b/mod/forum/post.php index 4a14f383628..69f4c1178b1 100644 --- a/mod/forum/post.php +++ b/mod/forum/post.php @@ -179,10 +179,10 @@ } 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)");