diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 1837ea7c306..f006d80fc67 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -49,7 +49,7 @@ class Form var $cache_conditions_paiements=array(); var $cache_availability=array(); var $cache_demand_reason=array(); - var $cache_type_fees=array(); + var $cache_types_fees=array(); var $cache_currencies=array(); var $cache_vatrates=array(); @@ -320,8 +320,8 @@ class Form if (! empty($ext_element)) $out.= ''."\n"; if (! empty($success)) $out.= ''."\n"; - $out.= '
'.$value.'
'."\n"; - $out.= '
'.(! empty($editvalue) ? $editvalue : $value).'
'."\n"; + $out.= ''.$value.''."\n"; + $out.= ''.(! empty($editvalue) ? $editvalue : $value).''."\n"; } else { diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php index c716f773ad7..ddf0a58501a 100644 --- a/htdocs/fourn/facture/fiche.php +++ b/htdocs/fourn/facture/fiche.php @@ -1445,7 +1445,7 @@ else // Due date print ''.$form->editfieldkey("DateMaxPayment",'date_lim_reglement',$object->date_echeance,$object,($object->statut<2 && $user->rights->fournisseur->facture->creer && $object->getSommePaiement() <= 0),'datepicker').''; print $form->editfieldval("DateMaxPayment",'date_lim_reglement',$object->date_echeance,$object,($object->statut<2 && $user->rights->fournisseur->facture->creer && $object->getSommePaiement() <= 0),'datepicker'); - if ($action != 'editdate_li_reglement' && $object->statut < 2 && $object->date_echeance && $object->date_echeance < ($now - $conf->facture->fournisseur->warning_delay)) print img_warning($langs->trans('Late')); + if ($action != 'editdate_lim_reglement' && $object->statut < 2 && $object->date_echeance && $object->date_echeance < ($now - $conf->facture->fournisseur->warning_delay)) print img_warning($langs->trans('Late')); print ''; // Status diff --git a/htdocs/projet/tasks.php b/htdocs/projet/tasks.php index 7f78bc18c7e..9c21affd706 100644 --- a/htdocs/projet/tasks.php +++ b/htdocs/projet/tasks.php @@ -56,7 +56,7 @@ $result = restrictedArea($user, 'projet', $id); $progress=GETPOST('progress', 'int'); $label=GETPOST('label', 'alpha'); -$description=GETPOST('description', 'alpha'); +$description=GETPOST('description'); $userAccess=0; @@ -207,7 +207,7 @@ if ($id > 0 || ! empty($ref)) // Date start print ''.$langs->trans("DateStart").''; - print dol_print_date($object->date_start,'day'); + print dol_print_date($object->date_start,'day'); print ''; // Date end