diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index c3babc00c4d..974fcffa8b5 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -550,7 +550,7 @@ class CommonObject if (! $this->table_element) { - dol_print_error("CommonObject::load_previous_next_ref was called on objet with property table_element not defined", LOG_ERR); + dol_print_error('',"CommonObject::load_previous_next_ref was called on objet with property table_element not defined", LOG_ERR); return -1; }