Sur la page suivante : http://wiki.dolibarr.org/index.php/Developpement_module

La ligne suivante :
print $form->select_date('','mykey',0,0,0,"myform");
devrait être remplacée par :
$form->select_date('','mykey',0,0,0,"myform");
car la fonction imprime directement le sélecteur de date et ne retourne rien.

La fonction est utilisée de manière erronnée dans les fichiers suivants :
htdocs/compta/deplacement/fiche.php
htdocs/compta/prelevement/fiche.php
htdocs/compta/prelevement/ligne.php
htdocs/compta/sociales/charges.php
htdocs/compta/tva/fiche.php
htdocs/contact/perso.php
htdocs/contrat/services.php
htdocs/energie/compteur.php
htdocs/fourn/commande/fiche.php
htdocs/lib/project.lib.php
htdocs/html.form.class

-- 
Laurent Léonard

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Dolibarr-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à