diff --git a/htdocs/core/modules/dons/html_generic.modules.php b/htdocs/core/modules/dons/html_generic.modules.php index 718586f2699..c1bb138fdc7 100644 --- a/htdocs/core/modules/dons/html_generic.modules.php +++ b/htdocs/core/modules/dons/html_generic.modules.php @@ -177,6 +177,8 @@ class html_generic extends ModeleDon fwrite($handle, $contents); fclose($handle); dolChmod($path); + + return; } // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps