File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -421,7 +421,7 @@ function onAfterInsert() {
421421
422422 //* The Database user shall be owned by the same group then the website
423423 $ sys_groupid = $ app ->functions ->intval ($ web ['sys_groupid ' ]);
424- $ backup_interval = $ app -> functions -> intval ( $ web ['backup_interval ' ]) ;
424+ $ backup_interval = $ web ['backup_interval ' ];
425425 $ backup_copies = $ app ->functions ->intval ($ web ['backup_copies ' ]);
426426
427427 $ sql = "UPDATE web_database SET sys_groupid = ' $ sys_groupid', backup_interval = ' $ backup_interval', backup_copies = ' $ backup_copies' WHERE database_id = " .$ this ->id ;
@@ -437,7 +437,7 @@ function onAfterUpdate() {
437437
438438 //* The Database user shall be owned by the same group then the website
439439 $ sys_groupid = $ app ->functions ->intval ($ web ['sys_groupid ' ]);
440- $ backup_interval = $ app -> functions -> intval ( $ web ['backup_interval ' ]) ;
440+ $ backup_interval = $ web ['backup_interval ' ];
441441 $ backup_copies = $ app ->functions ->intval ($ web ['backup_copies ' ]);
442442
443443 $ sql = "UPDATE web_database SET sys_groupid = ' $ sys_groupid', backup_interval = ' $ backup_interval', backup_copies = ' $ backup_copies' WHERE database_id = " .$ this ->id ;
You can’t perform that action at this time.
0 commit comments