summaryrefslogtreecommitdiff
path: root/inc/mod/pages.php
diff options
context:
space:
mode:
authorjove <no@no.com>2016-08-20 19:31:19 +0100
committerjove <no@no.com>2016-08-21 16:44:57 +0100
commit272635a370493997b84fc517865fd4e7757c6e6a (patch)
tree4a9f3276181eab129f1166ee6e7dc52ff1bb475f /inc/mod/pages.php
parent09983a957191ef70e40cf622caaae78dc03702ca (diff)
Fixes an error reporting typo.
Diffstat (limited to 'inc/mod/pages.php')
-rw-r--r--inc/mod/pages.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/mod/pages.php b/inc/mod/pages.php
index 966c68ea..f7de6f42 100644
--- a/inc/mod/pages.php
+++ b/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)) {