Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
233ab3bf
Commit
233ab3bf
authored
Oct 13, 2018
by
Carsten Rose
Browse files
F4649 - move validate() before sqlBefore()/sqlAfter(). refs #4649
parent
3ccef0cf
Pipeline
#1004
passed with stage
in 1 minute and 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/qfq/qfq/form/FormAction.php
View file @
233ab3bf
...
...
@@ -174,14 +174,14 @@ class FormAction {
$this
->
store
->
setStore
(
$arr
,
STORE_LDAP
,
true
);
}
$this
->
validate
(
$fe
);
// If given: fire a sqlBefore query
$this
->
evaluate
->
parse
(
$fe
[
FE_SQL_BEFORE
]);
if
(
$fe
[
FE_TYPE
]
===
FE_TYPE_SENDMAIL
)
{
$this
->
doSendMail
(
$fe
);
}
else
{
$this
->
validate
(
$fe
);
$rcTmp
=
$this
->
doSlave
(
$fe
,
$recordId
);
switch
(
$rcTmp
)
{
case
ACTION_ELEMENT_MODIFIED
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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