diff --git a/htdocs/website/class/website.class.php b/htdocs/website/class/website.class.php index b4b761a7e0b..197aec669b5 100644 --- a/htdocs/website/class/website.class.php +++ b/htdocs/website/class/website.class.php @@ -973,7 +973,7 @@ class Website extends CommonObject // Now generate the master.inc.php page $filemaster=$conf->website->dir_output.'/'.$object->ref.'/master.inc.php'; - dolSaveMasterFile($filemaster); + $result = dolSaveMasterFile($filemaster); if (! $result) { $this->errors[]='Failed to write file '.$filemaster;