Commit 6a1a7790 authored by Marc Egger's avatar Marc Egger
Browse files

fix undefined index exception

parent 721e2e3e
Pipeline #3952 failed with stages
in 3 minutes and 15 seconds
......@@ -148,6 +148,11 @@ class QuickFormQuery {
$t3data[T3DATA_UID] = 0;
}
if (!isset($t3data[T3DATA_HEADER])) {
// TODO: ?CR: when does this happen? why no exception thrown?
$t3data[T3DATA_HEADER] = '';
}
// Read report file, if file keyword exists in bodytext
$reportPathFileNameFull = ReportAsFile::parseFileKeyword($t3data[T3DATA_BODYTEXT]);
if ($reportPathFileNameFull !== null) {
......
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