diff --git a/htdocs/core/class/extrafields.class.php b/htdocs/core/class/extrafields.class.php index 7ef28b3ee76..1211c334617 100644 --- a/htdocs/core/class/extrafields.class.php +++ b/htdocs/core/class/extrafields.class.php @@ -771,7 +771,7 @@ class ExtraFields } elseif ($type == 'varchar') { - $out=''; + $out=''; } elseif (in_array($type, array('mail', 'phone', 'url'))) { diff --git a/htdocs/fichinter/card.php b/htdocs/fichinter/card.php index 9b0bb737128..827fd5c5e4a 100644 --- a/htdocs/fichinter/card.php +++ b/htdocs/fichinter/card.php @@ -595,7 +595,7 @@ if (empty($reshook)) } } - // Classify Billed + // Classify unbilled else if ($action == 'classifyunbilled' && $user->rights->ficheinter->creer) { $result=$object->setStatut(1); @@ -610,19 +610,19 @@ if (empty($reshook)) } } - // Classify Billed + // Classify Done else if ($action == 'classifydone' && $user->rights->ficheinter->creer) { - $result=$object->setStatut(3); - if ($result > 0) - { - header('Location: '.$_SERVER["PHP_SELF"].'?id='.$object->id); - exit; - } - else - { - setEventMessages($object->error, $object->errors, 'errors'); - } + $result=$object->setStatut(3); + if ($result > 0) + { + header('Location: '.$_SERVER["PHP_SELF"].'?id='.$object->id); + exit; + } + else + { + setEventMessages($object->error, $object->errors, 'errors'); + } } /* diff --git a/htdocs/fourn/commande/dispatch.php b/htdocs/fourn/commande/dispatch.php index d8d60e96272..44dfb07f255 100644 --- a/htdocs/fourn/commande/dispatch.php +++ b/htdocs/fourn/commande/dispatch.php @@ -368,7 +368,7 @@ if ($id > 0 || ! empty($ref)) { print ""; if ($object->methode_commande) { - print '