]> git.mjollnir.org Git - moodle.git/commitdiff
Merged $parent initialisation from stable
authormoodler <moodler>
Mon, 1 Nov 2004 12:49:04 +0000 (12:49 +0000)
committermoodler <moodler>
Mon, 1 Nov 2004 12:49:04 +0000 (12:49 +0000)
mod/forum/post.php

index f0f60bb3387c820fdf9193a7792a50740da93868..5cae45b581e57eae040ef06fceba7ea8fd889954 100644 (file)
         $defaultformat = FORMAT_MOODLE;
     }
 
+    $parent=NULL;  // Initialise some things
+
 
     if (isset($post->error)) {     // User is re-editing a failed posting