Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
lolo888
ISPConfig 3
Commits
52bc49c9
Commit
52bc49c9
authored
Oct 05, 2009
by
tbrehm
Browse files
Fixed: FS#918 - Cron file not create/update on cron insert but only on cron update
parent
91609af0
Changes
2
Hide whitespace changes
Inline
Side-by-side
interface/lib/classes/tform_actions.inc.php
View file @
52bc49c9
...
...
@@ -195,7 +195,7 @@ class tform_actions {
}
$this
->
onAfterInsert
();
// Write data history (sys_datalog)
if
(
$app
->
tform
->
formDef
[
'db_history'
]
==
'yes'
)
{
$new_data_record
=
$app
->
tform
->
getDataRecord
(
$this
->
id
);
...
...
interface/web/sites/cron_edit.php
View file @
52bc49c9
...
...
@@ -168,8 +168,9 @@ class page_action extends tform_actions {
if
(
$has_error
==
true
)
{
parent
::
onError
();
exit
;
}
else
parent
::
onInsertSave
(
$sql
);
}
else
{
return
parent
::
onInsertSave
(
$sql
);
}
}
function
onAfterInsert
()
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment