Fix: Blank page when renaming product ref
This commit is contained in:
parent
8b13f2ab81
commit
53c1672b9f
@ -518,6 +518,7 @@ class Product extends CommonObject
|
||||
$newdir = $conf->product->dir_output . "/" . dol_sanitizeFileName($this->ref);
|
||||
if (file_exists($olddir))
|
||||
{
|
||||
include_once DOL_DOCUMENT_ROOT . '/core/lib/files.lib.php';
|
||||
$res=@dol_move($olddir, $newdir);
|
||||
if (! $res)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user