File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -239,8 +239,8 @@ function onBeforeUpdate() {
239239 }
240240
241241 //* Database username and database name shall not be empty
242- if ($ this ->dataRecord ['database_name ' ] == '' ) $ app ->tform ->errorMessage .= $ app ->tform ->wordbook ["database_name_error_empty " ];
243- if ($ this ->dataRecord ['database_user ' ] == '' ) $ app ->tform ->errorMessage .= $ app ->tform ->wordbook ["database_user_error_empty " ];
242+ if ($ this ->dataRecord ['database_name ' ] == '' ) $ app ->tform ->errorMessage .= $ app ->tform ->wordbook ["database_name_error_empty " ]. ' <br /> ' ;
243+ if ($ this ->dataRecord ['database_user ' ] == '' ) $ app ->tform ->errorMessage .= $ app ->tform ->wordbook ["database_user_error_empty " ]. ' <br /> ' ;
244244
245245 //* Check if the server has been changed
246246 // We do this only for the admin or reseller users, as normal clients can not change the server ID anyway
@@ -267,8 +267,8 @@ function onBeforeInsert() {
267267 global $ app , $ conf , $ interfaceConf ;
268268
269269 //* Database username and database name shall not be empty
270- if ($ this ->dataRecord ['database_name ' ] == '' ) $ app ->tform ->errorMessage .= $ app ->tform ->wordbook ["database_name_error_empty " ];
271- if ($ this ->dataRecord ['database_user ' ] == '' ) $ app ->tform ->errorMessage .= $ app ->tform ->wordbook ["database_user_error_empty " ];
270+ if ($ this ->dataRecord ['database_name ' ] == '' ) $ app ->tform ->errorMessage .= $ app ->tform ->wordbook ["database_name_error_empty " ]. ' <br /> ' ;
271+ if ($ this ->dataRecord ['database_user ' ] == '' ) $ app ->tform ->errorMessage .= $ app ->tform ->wordbook ["database_user_error_empty " ]. ' <br /> ' ;
272272
273273 //* Get the database name and database user prefix
274274 $ app ->uses ('getconf ' );
You can’t perform that action at this time.
0 commit comments