diff --git a/htdocs/modulebuilder/index.php b/htdocs/modulebuilder/index.php index 7aa3440b8a8..4e8f1c323ee 100644 --- a/htdocs/modulebuilder/index.php +++ b/htdocs/modulebuilder/index.php @@ -703,7 +703,7 @@ elseif (! empty($module)) $head3[$h][2] = 'newobject'; $h++; - $listofobject = dol_dir_list($dir , 'files', 0, '\.txt$'); + $listofobject = dol_dir_list($dir, 'files', 0, '\.txt$'); foreach($listofobject as $fileobj) { $objectname = preg_replace('/\.txt$/', '', $fileobj['name']);