Browse Source

Fixes an error reporting typo.

pull/40/head
jove 8 years ago
parent
commit
272635a370
  1. 2
      inc/mod/pages.php

2
inc/mod/pages.php

@ -1277,7 +1277,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…
Cancel
Save