Permalink
Browse files

Bug when reassigning firstposts in discussions.

Solved !! Uff !!
  • Loading branch information...
1 parent 6dbedc7 commit 9f61d8aab5f61eee9225847b56915373dc7112c5 stronk7 committed Jun 23, 2003
Showing with 1 addition and 1 deletion.
  1. +1 −1 backup/mod/forum/restorelib.php
@@ -204,7 +204,7 @@ function forum_discussions_restore_mods($forum_id,$info,$restore) {
$discussion->firstpost = 0;
}
//Create temp discussion record
- $temp_discussion->id = $discussion->id;
+ $temp_discussion->id = $newid;
$temp_discussion->firstpost = $discussion->firstpost;
//echo "Updated firstpost ".$old_firstpost." to ".$temp_discussion->firstpost."<br>"; //Debug
} else {

0 comments on commit 9f61d8a

Please sign in to comment.