fixed typo, fixed bug that would reappear shadowed posts after import
parent
51a9e8e961
commit
b738ddee4e
|
@ -660,6 +660,7 @@ function import_overboard($db, $settings)
|
|||
$text = $post['text'];
|
||||
$sub = $post['sub'];
|
||||
$org_id = $post['org_id'];
|
||||
$shadow = $post['shadow'];
|
||||
|
||||
if (!empty($post['timestamp'])) {
|
||||
$timestamp = $post['timestamp'];
|
||||
|
@ -705,10 +706,10 @@ function import_overboard($db, $settings)
|
|||
original, move_message,
|
||||
edit_message)
|
||||
VALUES ('$post_id', '$sub', ?,
|
||||
'$org_id', 'no', '$global_id',
|
||||
'$org_id', '$shadow', '$global_id',
|
||||
'$text_id', '$timestamp',
|
||||
'$name', '$tripcode',
|
||||
'$post_id', ?, ?')");
|
||||
'$post_id', ?, ?)");
|
||||
$statement->bindParam(1, $text);
|
||||
$statement->bindParam(2, $move_message);
|
||||
$statement->bindParam(3, $edit_message);
|
||||
|
|
Loading…
Reference in New Issue