Explorar o código

collect 查询 加 article_list

visuddhinanda %!s(int64=4) %!d(string=hai) anos
pai
achega
dcf19f5c2b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/collect/function.php

+ 1 - 1
app/collect/function.php

@@ -26,7 +26,7 @@ class CollectInfo
             return $buffer[$id];
             return $buffer[$id];
         }
         }
         if($this->dbh){
         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 = $this->dbh->prepare($query);
             $stmt->execute(array($id));
             $stmt->execute(array($id));
 			$collect = $stmt->fetch(PDO::FETCH_ASSOC);
 			$collect = $stmt->fetch(PDO::FETCH_ASSOC);