Commit 2dfb872b authored by Carsten  Rose's avatar Carsten Rose

New function renderColumnType

parent cb253da5
Pipeline #2295 passed with stages
in 2 minutes and 40 seconds
This diff is collapsed.
......@@ -3,12 +3,11 @@
namespace IMATHUZH\Qfq\Core\Report;
use IMATHUZH\Qfq\Core\Database\Database;
use IMATHUZH\Qfq\Core\Helper\HelperFile;
use IMATHUZH\Qfq\Core\Helper\OnArray;
use IMATHUZH\Qfq\Core\Store\Store;
use IMATHUZH\Qfq\Core\Helper\Sanitize;
use IMATHUZH\Qfq\Core\Helper\HelperFile;
use IMATHUZH\Qfq\Core\Helper\Support;
use IMATHUZH\Qfq\Core\Store\Store;
const SENDMAIL_HTML_TOKEN = '<html>';
......@@ -67,7 +66,7 @@ class SendMail {
if (!empty($redirectAllMail)) {
foreach ([SENDMAIL_TOKEN_RECEIVER, SENDMAIL_TOKEN_RECEIVER_CC, SENDMAIL_TOKEN_RECEIVER_BCC] as $key) {
$mailConfig[$key] = (strlen($mailConfig[$key]) > 1023) ? str_replace(',', ', ', $mailConfig[$key]) : $mailConfig[$key];
$mailConfig[$key] = (strlen($mailConfig[$key] ?? '') > 80) ? str_replace(',', ', ', $mailConfig[$key]) : ($mailConfig[$key] ?? '');
}
$addBody = "All QFQ outgoing mails are caught and redirected to you." . PHP_EOL . "Original receiver(s) are ..." . PHP_EOL;
......
Markdown is supported
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