add default value for picto

This commit is contained in:
bagtaib 2022-07-06 10:16:03 +02:00
parent 377e079a6e
commit 696a832ef7

View File

@ -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
);