From 45e30271b35aa37c973cf2fdfdf793c53d811b76 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 28 Aug 2018 02:37:06 +0200 Subject: [PATCH] Merge --- htdocs/modulebuilder/index.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/htdocs/modulebuilder/index.php b/htdocs/modulebuilder/index.php index c66e7b932f3..1af3fc23d1e 100644 --- a/htdocs/modulebuilder/index.php +++ b/htdocs/modulebuilder/index.php @@ -175,10 +175,11 @@ if ($dirins && $action == 'initmodule' && $modulename) } } - if(!empty($conf->global->MODULEBUILDER_SPECIFIC_README)){ - dol_delete_file($destdir.'/README.md'); - file_put_contents($destdir.'/README.md', $conf->global->MODULEBUILDER_SPECIFIC_README); - } + if (!empty($conf->global->MODULEBUILDER_SPECIFIC_README)) + { + dol_delete_file($destdir.'/README.md'); + file_put_contents($destdir.'/README.md', $conf->global->MODULEBUILDER_SPECIFIC_README); + } } if (! $error)