From 6a4e01de1d20573cb5dde67c7235266ff5414431 Mon Sep 17 00:00:00 2001 From: Florian HENRY Date: Thu, 15 Oct 2020 08:36:04 +0200 Subject: [PATCH] fix review --- 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 c0984442fe6..2aa9b3330e3 100644 --- a/htdocs/product/class/product.class.php +++ b/htdocs/product/class/product.class.php @@ -4695,7 +4695,7 @@ class Product extends CommonObject return $label; } else { $this->error = $this->db->error().' sql='.$sql; - dol_syslog(get_class($this)."::".__METHOD__.' Error '.$this->error, LOG_ERR); + dol_syslog(__METHOD__.' Error '.$this->error, LOG_ERR); return -1; } }