diff --git a/htdocs/modulebuilder/index.php b/htdocs/modulebuilder/index.php index 580255d596f..2efb90fa7cf 100644 --- a/htdocs/modulebuilder/index.php +++ b/htdocs/modulebuilder/index.php @@ -760,7 +760,7 @@ if ($dirins && $action == 'initobject' && $module && GETPOST('createtablearray', if ($fieldname == 'ref') $string.= ", 'showoncombobox'=>1"; $string.= ", 'position'=>".$position; if ($index) $string.= ", 'index'=>".$index; - print "),\n"; + $string.= "),\n"; $string.="
"; $i+=5; }