Ver Fonte

collect 查询 加 article_list

visuddhinanda há 4 anos atrás
pai
commit
dcf19f5c2b
1 ficheiros alterados com 1 adições e 1 exclusões
  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);