From 0b4df340911c60f28b07bee095ac336c8932910c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 19 Sep 2012 14:16:29 +0200 Subject: [PATCH] Fix: Blank page when renaming product ref --- 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 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';