diff --git a/htdocs/modulebuilder/index.php b/htdocs/modulebuilder/index.php index b6bcf74cc9e..3416c1c69b8 100644 --- a/htdocs/modulebuilder/index.php +++ b/htdocs/modulebuilder/index.php @@ -344,7 +344,7 @@ if ($dirins && $action == 'initmodule' && $modulename) { 'Editor name'=>$editorname, 'https://www.example.com'=>$editorurl, '1.0'=>$version, - 'idpicto'=>$picto, + 'idpicto'=>(empty($picto)) ? 'generic' : $picto, "modulefamily" =>$family, 500000=>$idmodule );