diff --git a/htdocs/user/fiche.php b/htdocs/user/fiche.php index 52ca3932fdb..095a14ab439 100644 --- a/htdocs/user/fiche.php +++ b/htdocs/user/fiche.php @@ -223,10 +223,6 @@ if ($action == 'add' && $canadduser) $object->entity = (empty($_POST["entity"]) ? 0 : $_POST["entity"]); } } - else if (! empty($_POST["admin"])) - { - $object->entity=0; - } else { $object->entity = (empty($_POST["entity"]) ? 0 : $_POST["entity"]); @@ -372,10 +368,6 @@ if ($action == 'update' && ! $_POST["cancel"]) $object->entity = (empty($_POST["entity"]) ? 0 : $_POST["entity"]); } } - else if(! empty($_POST["admin"])) - { - $object->entity=0; - } else { $object->entity = (empty($_POST["entity"]) ? 0 : $_POST["entity"]); @@ -1582,7 +1574,7 @@ else print '
'; print ''; print ''; - print ''; + print ''; print ''; $rowspan=13;