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)