Fix: avoid warning in strict mode
This commit is contained in:
parent
c37ebea688
commit
75fa37cde9
@ -943,7 +943,7 @@ $productstatic = new Product($db);
|
|||||||
|
|
||||||
$now=dol_now();
|
$now=dol_now();
|
||||||
|
|
||||||
if ($object->id > 0)
|
if (! empty($object->id))
|
||||||
{
|
{
|
||||||
$author = new User($db);
|
$author = new User($db);
|
||||||
$author->fetch($object->user_author_id);
|
$author->fetch($object->user_author_id);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user