소스 검색

collect 查询 加 article_list

visuddhinanda 4 년 전
부모
커밋
dcf19f5c2b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/collect/function.php

+ 1 - 1
app/collect/function.php

@@ -26,7 +26,7 @@ class CollectInfo
             return $buffer[$id];
         }
         if($this->dbh){
-            $query = "SELECT id,title,owner,status,lang, FROM collect WHERE id= ?";
+            $query = "SELECT id,title,owner,status,lang,article_list FROM collect WHERE id= ?";
             $stmt = $this->dbh->prepare($query);
             $stmt->execute(array($id));
 			$collect = $stmt->fetch(PDO::FETCH_ASSOC);