diff --git a/administrator/components/com_fields/tables/field.php b/administrator/components/com_fields/tables/field.php index e05f7aa8d4540..fe91779c927b5 100644 --- a/administrator/components/com_fields/tables/field.php +++ b/administrator/components/com_fields/tables/field.php @@ -137,6 +137,11 @@ public function check() } } + if (empty($this->group_id)) + { + $this->group_id = 0; + } + return true; } @@ -177,7 +182,7 @@ protected function _getAssetTitle() * Method to get the parent asset under which to register this one. * By default, all assets are registered to the ROOT node with ID, * which will default to 1 if none exists. - * The extended class can define a table and id to lookup. If the + * The extended class can define a table and id to lookup. If the * asset does not exist it will be created. * * @param JTable $table A JTable object for the asset parent.