From fa2636b857ff653e8d0c952295b6f15ea4d20072 Mon Sep 17 00:00:00 2001 From: Li Jianxuan Date: Mon, 31 Mar 2014 07:40:24 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E6=A1=A3=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E6=97=B6=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vendor/Sookon/Article/Article.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }