Skip to content

Commit

Permalink
Fix missing comma when generating setup page with doc models
Browse files Browse the repository at this point in the history
  • Loading branch information
AXeL-dev committed Jun 21, 2020
1 parent 23bd13e commit f4439b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/new.php
Expand Up @@ -158,7 +158,7 @@
}
if ($add_doc_models) {
if ($add_num_models) $settings.= "\n\n";
else $default_actions_parameters = "''";
else $default_actions_parameters = ", ''";
$settings.= "print_subtitle('DocumentModels');\n";
$settings.= "print_doc_models('".$data['module_folder']."/core/doc_models', '".$data['module_folder']."', '".$module_name_toupper."_ADDON_PDF', '".$data['module_picture']."@".$data['module_folder']."');";
$default_actions_parameters.= ", '".$module_name_tolower."', '".$module_name_toupper."_ADDON_PDF', '".$data['module_folder']."/core/doc_models', '".$data['module_folder']."'";
Expand Down

0 comments on commit f4439b4

Please sign in to comment.