Merge pull request #15151 from frederic34/patch-8
selectTypeContact return void
This commit is contained in:
commit
c1cd25fb6b
@ -108,7 +108,7 @@ if ($permission)
|
||||
<?php
|
||||
$tmpobject = $object;
|
||||
if (($object->element == 'shipping' || $object->element == 'reception') && is_object($objectsrc)) $tmpobject = $objectsrc;
|
||||
echo $formcompany->selectTypeContact($tmpobject, '', 'type', 'internal');
|
||||
$formcompany->selectTypeContact($tmpobject, '', 'type', 'internal');
|
||||
?></div>
|
||||
<div class="tagtd"> </div>
|
||||
<div class="tagtd center"><input type="submit" class="button" value="<?php echo $langs->trans("Add"); ?>"></div>
|
||||
@ -117,8 +117,7 @@ if ($permission)
|
||||
<?php
|
||||
}
|
||||
|
||||
if (empty($hideaddcontactforthirdparty))
|
||||
{
|
||||
if (empty($hideaddcontactforthirdparty)) {
|
||||
?>
|
||||
|
||||
<form class="tagtr pair nohover" action="<?php echo $_SERVER["PHP_SELF"].'?id='.$object->id; ?>" method="POST">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user