Skip to content
Snippets Groups Projects
Commit 75fa37cd authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: avoid warning in strict mode

parent c37ebea6
No related branches found
No related tags found
No related merge requests found
......@@ -943,7 +943,7 @@ $productstatic = new Product($db);
$now=dol_now();
if ($object->id > 0)
if (! empty($object->id))
{
$author = new User($db);
$author->fetch($object->user_author_id);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment