* Finished task#4658

This commit is contained in:
滔哥
2018-09-11 17:14:21 +08:00
parent 9b2d30e440
commit 52b22fa382
+1 -1
View File
@@ -1630,7 +1630,7 @@ class treeModel extends model
*/
public function getDocStructure()
{
$stmt = $this->dbh->query($this->dao->select('*')->from(TABLE_MODULE)->where('type')->eq('doc')->get());
$stmt = $this->dbh->query($this->dao->select('*')->from(TABLE_MODULE)->where('type')->eq('doc')->andWhere('deleted')->eq(0)->get());
$parent = array();
while($module = $stmt->fetch())
{