Update card.php
This commit is contained in:
parent
6e68bf10ef
commit
892ec3a661
@ -189,7 +189,7 @@ if (empty($reshook)) {
|
|||||||
$notifyTiers = GETPOST("notify_tiers_at_create", 'alpha');
|
$notifyTiers = GETPOST("notify_tiers_at_create", 'alpha');
|
||||||
$object->notify_tiers_at_create = empty($notifyTiers) ? 0 : 1;
|
$object->notify_tiers_at_create = empty($notifyTiers) ? 0 : 1;
|
||||||
$fk_user_assign = GETPOST("fk_user_assign", 'int');
|
$fk_user_assign = GETPOST("fk_user_assign", 'int');
|
||||||
if (!empty($fk_user_assign)) {
|
if ($fk_user_assign > 0) {
|
||||||
$object->fk_user_assign = $fk_user_assign;
|
$object->fk_user_assign = $fk_user_assign;
|
||||||
$object->fk_statut = $object::STATUS_ASSIGNED;
|
$object->fk_statut = $object::STATUS_ASSIGNED;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user