From 892ec3a66166fdecdf56d363e5c74b417805f07c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 3 Aug 2021 17:06:07 +0200 Subject: [PATCH] Update card.php --- htdocs/ticket/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/ticket/card.php b/htdocs/ticket/card.php index 5d71ee4e393..8a11ac23e23 100644 --- a/htdocs/ticket/card.php +++ b/htdocs/ticket/card.php @@ -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; }