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