修改文档删除时的bug

This commit is contained in:
Li Jianxuan 2014-03-31 07:40:24 +00:00
parent 0541138063
commit fa2636b857
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}