Merge pull request #15337 from ATM-Consulting/FIX_12.0_remove_set_thirdparty_action_on_invoice
Following PR#15336: it should not be possible to modify the third par…
This commit is contained in:
commit
59abed9153
@ -345,15 +345,6 @@ if (empty($reshook))
|
||||
}
|
||||
}
|
||||
|
||||
elseif ($action == 'set_thirdparty' && $usercancreate)
|
||||
{
|
||||
$object->fetch($id);
|
||||
$object->setValueFrom('fk_soc', $socid, '', null, 'int', '', $user, 'BILL_MODIFY');
|
||||
|
||||
header('Location: '.$_SERVER["PHP_SELF"].'?facid='.$id);
|
||||
exit();
|
||||
}
|
||||
|
||||
elseif ($action == 'classin' && $usercancreate)
|
||||
{
|
||||
$object->fetch($id);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user