From e917b842bdf5a142b07b4dc2ee8f2f61bdfdc8f5 Mon Sep 17 00:00:00 2001 From: ShingChi Date: Wed, 25 Dec 2013 22:22:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E6=98=8E=E9=94=99=E8=AF=AF=EF=BC=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- var/Widget/Abstract/Contents.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/Widget/Abstract/Contents.php b/var/Widget/Abstract/Contents.php index 6ce33bd3..88d41e3d 100644 --- a/var/Widget/Abstract/Contents.php +++ b/var/Widget/Abstract/Contents.php @@ -405,7 +405,7 @@ class Widget_Abstract_Contents extends Widget_Abstract */ public function deleteFields($cid) { - return $this->db->query($this->db->delete('table.contents') + return $this->db->query($this->db->delete('table.fields') ->where('cid = ?', $cid)); }