mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-12 01:50:48 +01:00
Fixes an error reporting typo.
This commit is contained in:
parent
8512321669
commit
847c5d130c
@ -1384,7 +1384,7 @@ function mod_move($originBoard, $postID) {
|
||||
$query = prepare('SELECT `target` FROM ``cites`` WHERE `target_board` = :board AND `board` = :board AND `post` = :post');
|
||||
$query->bindValue(':board', $originBoard);
|
||||
$query->bindValue(':post', $post['id'], PDO::PARAM_INT);
|
||||
$query->execute() or error(db_error($qurey));
|
||||
$query->execute() or error(db_error($query));
|
||||
|
||||
// correct >>X links
|
||||
while ($cite = $query->fetch(PDO::FETCH_ASSOC)) {
|
||||
|
Loading…
Reference in New Issue
Block a user