]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed a typo I just made
authormoodler <moodler>
Tue, 29 Jun 2004 03:49:51 +0000 (03:49 +0000)
committermoodler <moodler>
Tue, 29 Jun 2004 03:49:51 +0000 (03:49 +0000)
mod/forum/post.php

index d03a469a1ce4d2f051ccee04e9edf3daaf2ad46f..49eda30e31a96533867448dfea10f1bbc54fa106 100644 (file)
             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');
             }
             
             $post->parent = 0;
-            $post->name = $name;
+            $post->subject = $name;
 
             if (!update_record("forum_posts", $post)) {
                 error('Could not update the original post');