diff --git a/admin/inc/class.customfields.inc.php b/admin/inc/class.customfields.inc.php index 0e468c1c44..da6397b39b 100644 --- a/admin/inc/class.customfields.inc.php +++ b/admin/inc/class.customfields.inc.php @@ -586,6 +586,7 @@ class customfields function delete_content_type(&$content) { unset($this->content_types[$content['content_types']['types']]); + unset($this->status[$content['content_types']['types']]); // save changes to repository $this->save_repository(); }