Update card.php

This commit is contained in:
Laurent Destailleur 2021-08-03 17:06:07 +02:00 committed by GitHub
parent 6e68bf10ef
commit 892ec3a661
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -189,7 +189,7 @@ if (empty($reshook)) {
$notifyTiers = GETPOST("notify_tiers_at_create", 'alpha');
$object->notify_tiers_at_create = empty($notifyTiers) ? 0 : 1;
$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_statut = $object::STATUS_ASSIGNED;
}