From be2c49d490df79c8ab9cae4bf3d89deec0dc66fb Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 1 Jun 2018 17:39:07 +0200 Subject: [PATCH] Fix log --- htdocs/product/class/product.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/class/product.class.php b/htdocs/product/class/product.class.php index 353b53f698b..28b6d4638e0 100644 --- a/htdocs/product/class/product.class.php +++ b/htdocs/product/class/product.class.php @@ -1845,7 +1845,7 @@ class Product extends CommonObject if (! $id && ! $ref && ! $ref_ext) { $this->error='ErrorWrongParameters'; - dol_print_error(get_class($this)."::fetch ".$this->error); + dol_syslog(get_class($this)."::fetch ".$this->error); return -1; }