2
0
forked from Wavyzz/dolibarr

Complete param of setValueFrom

This commit is contained in:
Laurent Destailleur
2016-09-12 20:16:39 +02:00
parent 5c1127fc54
commit 0ab377440d
12 changed files with 19 additions and 19 deletions

View File

@@ -1231,7 +1231,7 @@ if (empty($reshook))
if ($action == 'set_thirdparty' && $user->rights->commande->creer)
{
$object->fetch($id);
$object->setValueFrom('fk_soc', $socid);
$object->setValueFrom('fk_soc', $socid, '', '', 'date', '', $user, 'ORDER_MODIFY');
header('Location: ' . $_SERVER["PHP_SELF"] . '?id=' . $id);
exit();