Navigation Menu

Skip to content

Commit

Permalink
FIX: modulebuilder: could not create html fields
Browse files Browse the repository at this point in the history
  • Loading branch information
ATM-Marc committed Apr 11, 2018
1 parent c966cdb commit 2f75bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/lib/modulebuilder.lib.php
Expand Up @@ -63,7 +63,7 @@ function rebuildObjectClass($destdir, $module, $objectname, $newmask, $readdir='
setEventMessages($langs->trans('ErrorFieldRequired', $langs->transnoentitiesnoconv("Label")), null, 'errors');
return -2;
}
if (! preg_match('/^(integer|date|timestamp|varchar|double)/', $addfieldentry['type']))
if (! preg_match('/^(integer|date|timestamp|varchar|double|html)/', $addfieldentry['type']))
{
setEventMessages($langs->trans('BadFormatForType', $objectname), null, 'errors');
return -2;
Expand Down

0 comments on commit 2f75bfc

Please sign in to comment.