fix parameter error
This commit is contained in:
parent
0efa9098d5
commit
41a63c752c
|
@ -612,7 +612,7 @@ class Archive
|
|||
left join ".$this->tbl_categorys." c on ac.cid=c.id ";
|
||||
$sql.=" where a.title=? and c.ptype='about' and a.sub=''";
|
||||
$sth=$this->db->prepare($sql);
|
||||
$sth->execute(array($title,$ptype));
|
||||
$sth->execute(array($title));
|
||||
$rows=$sth->fetch();
|
||||
return $rows;
|
||||
}//getAboutArchive
|
||||
|
|
Loading…
Reference in New Issue