diff --git a/vendor/Sookon/Article/Article.php b/vendor/Sookon/Article/Article.php index 24cc3f21..1a478008 100644 --- a/vendor/Sookon/Article/Article.php +++ b/vendor/Sookon/Article/Article.php @@ -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; }