Commit 870b5eb5 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Fix typo

parent d260465a
Pipeline #4912 passed with stages
in 4 minutes and 30 seconds
......@@ -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.
......@@ -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);
}
}
......
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