This commit is contained in:
Laurent Destailleur 2020-04-19 14:39:37 +02:00
parent 9ad086ac3c
commit 8117f37e46

View File

@ -280,7 +280,7 @@ if ($id > 0 && !preg_match('/^add/i', $action))
} }
else else
{ {
if ($object->fk_user) if ($object->fk_user > 0)
{ {
$fuser = new User($db); $fuser = new User($db);
$fuser->fetch($object->fk_user); $fuser->fetch($object->fk_user);