diff --git a/htdocs/product/class/product.class.php b/htdocs/product/class/product.class.php index 2863fba6bb5..d6290ce6345 100644 --- a/htdocs/product/class/product.class.php +++ b/htdocs/product/class/product.class.php @@ -525,7 +525,7 @@ class Product extends CommonObject if (file_exists($olddir)) { include_once DOL_DOCUMENT_ROOT . '/core/lib/files.lib.php'; - $res=dol_move($olddir, $newdir); + $res=@dol_move($olddir, $newdir); if (! $res) { $this->error='ErrorFailToMoveDir';