Actions
Bug #92698
closedvariables in ContentContentObject::render
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2020-10-24
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
10
PHP Version:
7.3
Tags:
ContentObject rendering TypoScript
Complexity:
easy
Is Regression:
Sprint Focus:
Description
Some variable are not checked properly before usage:
$slide = isset($conf['slide.']) ? (int)$this->cObj->stdWrap($conf['slide'], $conf['slide.']) : (int)$conf['slide'];
here even $conf['slide'] might not be set, that's producing an error then.
$slideCollect = isset($conf['slide.']['collect.']) ? (int)$this->cObj->stdWrap($conf['slide.']['collect'], $conf['slide.']['collect.']) : (int)$conf['slide.']['collect'];
here even $conf['slide.']['collect'] might not be set, that's producing an error then.
$slideCollectReverse = isset($conf['slide.']['collectReverse.']) ? (int)$this->cObj->stdWrap($conf['slide.']['collectReverse'], $conf['slide.']['collectReverse.']) : (int)$conf['slide.']['collectReverse'];
here even $conf['slide.']['collectReverse'] might not be set, that's producing an error then.
$slideCollectFuzzy = isset($conf['slide.']['collectFuzzy.']) ? (bool)$this->cObj->stdWrap($conf['slide.']['collectFuzzy'], $conf['slide.']['collectFuzzy.']) : (bool)$conf['slide.']['collectFuzzy'];
here $conf['slide.']['collectFuzzy'] might not be set, that's producing an error then (line 3 above).
$conf['select.']['pidInList'] = $this->cObj->getSlidePids($conf['select.']['pidInList'], $conf['select.']['pidInList.']);
here $conf['select.']['pidInList'] might not be set, that's producing an error then.
Actions