diff --git a/htdocs/fichinter/fiche.php b/htdocs/fichinter/fiche.php index 7c804b30c2d..62a31d2cfe6 100644 --- a/htdocs/fichinter/fiche.php +++ b/htdocs/fichinter/fiche.php @@ -249,7 +249,17 @@ if ($action == 'setdescription') // Add line if ($action == "addline" && $user->rights->ficheinter->creer) { - if ($_POST['np_desc'] && ($_POST['durationhour'] || $_POST['durationmin'])) + if (empty($_POST['np_desc'])) + { + $mesg='
| '.$langs->trans("Company").' | '.$societe->getNomUrl(1).' |
| '.$langs->trans("Thirdparty").' | '.$societe->getNomUrl(1).' |