From a4a4b8ddffd64ff8626cef63b348bf0435bdbd41 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 10 Sep 2018 23:23:44 +0200 Subject: [PATCH] Fix error management --- htdocs/website/class/website.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;