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
870b5eb5
Commit
870b5eb5
authored
Jan 29, 2021
by
Carsten Rose
Browse files
Fix typo
parent
d260465a
Pipeline
#4912
passed with stages
in 4 minutes and 30 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Documentation/CodingGuideline.rst
View file @
870b5eb5
...
...
@@ -56,7 +56,8 @@ QFQ content record
* Content in the left column: ``[QFQ,L] ...``
* Content in englisch: ``[QFQ,E] ...``
* The first lines should be comments, explaining what the record does and list all passed variables::
* The first lines should be comments, explaining what the record does and list all passed variables. Optional variables
are indicated by using STORE_EMPTY or STORE_ZERO::
#
# Shows list of Persons living in {{country:SE}}
...
...
@@ -66,12 +67,12 @@ QFQ content record
* A good practice is to define all possible STORE_SIP Parameter in a SQL at the beginning and copy them to STORE_RECORD::
10 {
# Normalize variables
sql = SELECT '{{country:SE}}' AS _country
10 {
# Normalize variables
sql = SELECT '{{country:SE}}' AS _country
# List selected persons
20.sql = SELECT p.name FROM Person AS p WHERE p.country LIKE '{{country:R}}'
}
# List selected persons
20.sql = SELECT p.name FROM Person AS p WHERE p.country LIKE '{{country:R}}'
}
* Always comment the queries like shown above.
extension/Classes/Core/Report/SendMail.php
View file @
870b5eb5
...
...
@@ -262,7 +262,8 @@ class SendMail {
}
if
(
$rc
!=
0
)
{
throw
new
\
UserFormException
(
json_encode
([
ERROR_MESSAGE_TO_USER
=>
'"Error sendmail failed'
,
ERROR_MESSAGE_TO_DEVELOPER
=>
"[cmd=
$cmd
]
$output
"
]),
ERROR_SENDMAIL
);
throw
new
\
UserFormException
(
json_encode
([
ERROR_MESSAGE_TO_USER
=>
'"Error sendmail failed'
,
ERROR_MESSAGE_TO_DEVELOPER
=>
"[cmd=
$cmd
]
$output
"
]),
ERROR_SENDMAIL
);
}
}
...
...
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