This commit is contained in:
Michael Foster 2013-08-31 13:33:26 +10:00
parent 94ac200d57
commit 8d14ef6bf7
2 changed files with 2 additions and 2 deletions

View File

@ -1125,7 +1125,7 @@ function mod_move($originBoard, $postID) {
$pdo->quote($board['uri']) . ', ' . $newPostID . ', ' . $pdo->quote($board['uri']) . ', ' . $newPostID . ', ' .
$pdo->quote($cite[0]) . ', ' . (int)$cite[1] . ')'; $pdo->quote($cite[0]) . ', ' . (int)$cite[1] . ')';
} }
query('INSERT INTO ``cites`` VALUES ' . implode(', ', $insert_rows)) or error(db_error());; query('INSERT INTO ``cites`` VALUES ' . implode(', ', $insert_rows)) or error(db_error());
} }
} }

View File

@ -689,7 +689,7 @@ if (isset($_POST['delete'])) {
$pdo->quote($board['uri']) . ', ' . (int)$id . ', ' . $pdo->quote($board['uri']) . ', ' . (int)$id . ', ' .
$pdo->quote($cite[0]) . ', ' . (int)$cite[1] . ')'; $pdo->quote($cite[0]) . ', ' . (int)$cite[1] . ')';
} }
query('INSERT INTO ``cites`` VALUES ' . implode(', ', $insert_rows)) or error(db_error());; query('INSERT INTO ``cites`` VALUES ' . implode(', ', $insert_rows)) or error(db_error());
} }
if (!$post['op'] && strtolower($post['email']) != 'sage' && !$thread['sage'] && ($config['reply_limit'] == 0 || $numposts['replies']+1 < $config['reply_limit'])) { if (!$post['op'] && strtolower($post['email']) != 'sage' && !$thread['sage'] && ($config['reply_limit'] == 0 || $numposts['replies']+1 < $config['reply_limit'])) {