Browse Source

Corrects the always edit the same post bug

ndieschburg 15 years ago
parent
commit
05664f2f55
1 changed files with 2 additions and 2 deletions
  1. 2 2
      main/forum/editpost.php

+ 2 - 2
main/forum/editpost.php

@@ -123,7 +123,7 @@ $htmlHeadXtra[] = '<script>
 $current_thread=get_thread_information($_GET['thread']); // note: this has to be validated that it is an existing thread
 $current_forum=get_forum_information($_GET['forum']); // note: this has to be validated that it is an existing forum.
 $current_forum_category=get_forumcategory_information($current_forum['forum_category']);
-$current_post=get_post_information($_GET['thread']);
+$current_post=get_post_information($_GET['post']);
 /*
 -----------------------------------------------------------
 	Header and Breadcrumbs
@@ -264,4 +264,4 @@ if (!empty($values) and isset($_POST['SubmitPost'])) {
 // footer
 if ($origin!='learnpath') {
 	Display :: display_footer();
-}
+}