diff --git a/htdocs/admin/website.php b/htdocs/admin/website.php index 311b67c21f2..aa7d5904c60 100644 --- a/htdocs/admin/website.php +++ b/htdocs/admin/website.php @@ -490,6 +490,9 @@ if ($id) { } } } + if (!isset($obj->position)) { + $obj->position = 1; + } fieldListWebsites($fieldlist, $obj, $tabname[$id], 'add');