indent
This commit is contained in:
parent
50d2e2d161
commit
236ff2d4e4
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ if ($action == 'addcontact' && $user->rights->expedition->creer)
|
|||
{
|
||||
if ($result > 0 && $id > 0)
|
||||
{
|
||||
$contactid = (GETPOST('userid', 'int') ? GETPOST('userid', 'int') : GETPOST('contactid', 'int'));
|
||||
$contactid = (GETPOST('userid', 'int') ? GETPOST('userid', 'int') : GETPOST('contactid', 'int'));
|
||||
$typeid = (GETPOST('typecontact') ? GETPOST('typecontact') : GETPOST('type'));
|
||||
$result = $objectsrc->add_contact($contactid, $typeid, GETPOST("source", 'aZ09'));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue