瀏覽代碼

Fixes an error reporting typo.

pull/62/head
jove 7 年之前
父節點
當前提交
272635a370
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      inc/mod/pages.php

+ 1
- 1
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…
取消
儲存