Fix bug of prepare_head of card

Delete the call of commande_prepare_head function because do not use in skeleton
This commit is contained in:
Inovea Conseil
2017-06-01 10:51:30 +02:00
committed by GitHub
parent d7d8e51ab1
commit fa3cd267f4

View File

@@ -297,9 +297,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
{
$res = $object->fetch_optionals($object->id, $extralabels);
$head = commande_prepare_head($object);
dol_fiche_head($head, 'order', $langs->trans("CustomerOrder"), 0, 'order');
print load_fiche_titre($langs->trans("MyModule"));
dol_fiche_head();