Commit 3d2ef93f authored by Carsten  Rose's avatar Carsten Rose
Browse files

QuickFormQuery.php: Action after*, sendmail fixed to to use latest recordId.

parent fd8da738
......@@ -277,7 +277,7 @@ class QuickFormQuery {
$save->processAllUploads($rc);
// Action: After
$formAction->elements($recordId, $this->feSpecAction, FE_TYPE_AFTER_INSERT . ',' . FE_TYPE_AFTER_UPDATE . ',' . FE_TYPE_AFTER_SAVE);
$formAction->elements($rc, $this->feSpecAction, FE_TYPE_AFTER_INSERT . ',' . FE_TYPE_AFTER_UPDATE . ',' . FE_TYPE_AFTER_SAVE);
$htmlElementNameIdZero = false;
// Retrieve current STORE_SIP.
......@@ -289,7 +289,7 @@ class QuickFormQuery {
}
// Action: Sendmail
$formAction->elements($recordId, $this->feSpecAction, FE_TYPE_SENDMAIL);
$formAction->elements($rc, $this->feSpecAction, FE_TYPE_SENDMAIL);
// Retrieve FE Values as JSON
$data = $build->process($mode, $htmlElementNameIdZero);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment