Skip to content
Snippets Groups Projects
Commit 429be467 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #5045 from bafbes/abb-16

fix:erroneous nesting form
parents 3ba87be4 e673c1aa
No related branches found
No related tags found
No related merge requests found
......@@ -1261,12 +1261,6 @@ else if ($id > 0 || ! empty($ref))
// Print form confirm
print $formconfirm;
print '<form action="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'" method="POST" name="formfichinter">';
print '<input type="hidden" name="id" value="'.$object->id.'">';
if ($action == 'edit_extras') print '<input type="hidden" name="action" value="update_extras">';
if ($action == 'contrat') print '<input type="hidden" name="action" value="setcontrat">';
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
print '<table class="border" width="100%">';
$linkback = '<a href="'.DOL_URL_ROOT.'/fichinter/list.php'.(! empty($socid)?'?socid='.$socid:'').'">'.$langs->trans("BackToList").'</a>';
......@@ -1406,8 +1400,6 @@ else if ($id > 0 || ! empty($ref))
print "</table>";
print '</form>';
if (! empty($conf->global->MAIN_DISABLE_CONTACTS_TAB))
{
$blocname = 'contacts';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment