修改文档删除时的bug
This commit is contained in:
parent
0541138063
commit
fa2636b857
|
@ -189,9 +189,9 @@ class Article
|
|||
return false;
|
||||
}
|
||||
|
||||
$sql = $this->db->exec("DELETE FROM {$this->table->arc_article} WHERE id=$id");
|
||||
$sql2 = $this->db->exec("DELETE FROM {$this->table->arc_catelog} WHERE aid=$id");
|
||||
$sql3 = $this->db->exec("DELETE FROM {$this->table->arc_tag} WHERE id=$id");
|
||||
$sql2 = $this->db->exec("DELETE FROM {$this->table->arc_catelog} WHERE aid=$id");
|
||||
$sql = $this->db->exec("DELETE FROM {$this->table->arc_article} WHERE id=$id");
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue