From: moodler Date: Tue, 29 Jun 2004 03:49:51 +0000 (+0000) Subject: Fixed a typo I just made X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=4d35d88bcd9abc1bc7cea5c643d797e5b8f403be;p=moodle.git Fixed a typo I just made --- diff --git a/mod/forum/post.php b/mod/forum/post.php index d03a469a1c..49eda30e31 100644 --- a/mod/forum/post.php +++ b/mod/forum/post.php @@ -334,7 +334,7 @@ error("The forum number was incorrect ($discussion->forum)"); } if (!isteacher($forum->course)) { - error("You can't prune discussions!"); + error("You can't split discussions!"); } if (!$post->parent) { error('This is already the first post in the discussion'); @@ -356,7 +356,7 @@ } $post->parent = 0; - $post->name = $name; + $post->subject = $name; if (!update_record("forum_posts", $post)) { error('Could not update the original post');