ci
This commit is contained in:
parent
46f8d4434d
commit
e42d6883e5
2 changed files with 2 additions and 2 deletions
|
|
@ -2338,7 +2338,7 @@ if ($id > 0) {
|
|||
|
||||
print '<td colspan="3" class="center">';
|
||||
print '<div name="'.(isset($obj->rowid) ? $obj->rowid : $obj->code).'"></div>';
|
||||
print '<input type="hidden" name="page" value="'.dol_escape_htmltag($page).'">';
|
||||
print '<input type="hidden" name="page" value="'.((int) $page).'">';
|
||||
print '<input type="hidden" name="rowid" value="'.dol_escape_htmltag($rowid).'">';
|
||||
if (!is_null($withentity)) {
|
||||
print '<input type="hidden" name="entity" value="'.$withentity.'">';
|
||||
|
|
|
|||
|
|
@ -1155,7 +1155,7 @@ if ($action == 'create') {
|
|||
print '<tr><td class="fieldrequired">'.$langs->trans("ThirdParty").'</td><td>';
|
||||
$filter = '(s.status:=:1)';
|
||||
|
||||
print $form->select_company('', 'socid', $filter, 'SelectThirdParty', 1, 0, null, 0, 'minwidth300');
|
||||
print $form->select_company('', 'socid', $filter, 'SelectThirdParty', 1, 0, array(), 0, 'minwidth300');
|
||||
print ' <a href="'.DOL_URL_ROOT.'/societe/card.php?action=create&backtopage='.urlencode($_SERVER["PHP_SELF"].'?action=create').'"><span class="fa fa-plus-circle valignmiddle paddingleft" title="'.$langs->trans("AddThirdParty").'"></span></a>';
|
||||
print '</td></tr>';
|
||||
print '</table>';
|
||||
|
|
|
|||
Loading…
Reference in a new issue