Merge pull request #12701 from frederic34/patch-15

dol_fiche_head() returns void
This commit is contained in:
Laurent Destailleur 2019-12-14 13:43:13 +01:00 committed by GitHub
commit 7d6bdb6eee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -374,7 +374,7 @@ if (! empty($id) || ! empty($ref))
if ($action == 'add' || ($action == 'edit')) {
if ($action == 'add') {
$title = $langs->trans('NewProductCombination');
//print dol_fiche_head();
// dol_fiche_head();
$features = $_SESSION['addvariant_'.$object->id];
//First, sanitize
$listofvariantselected = '<div id="parttoaddvariant">';
@ -499,7 +499,7 @@ if (! empty($id) || ! empty($ref))
print '<input type="hidden" name="valueid" value="' . $valueid .'">'."\n";
}
print dol_fiche_head();
dol_fiche_head();
print '<table class="border" style="width: 100%">';