Bug #22525
closedWarning at t3lib_div::_GPmerged(): undefined index on line 281
0%
Description
I updated to typo3 v4.3.3 with page_php_content Extension. If I call a page with php content i get a notice "undefined index in t3lib_div.php on line 281 & 282.
That is:
$postParameter = is_array($_POST[$parameter]) ? $_POST[$parameter] : array();
$getParameter = is_array($_GET[$parameter]) ? $_GET[$parameter] : array();
The $parameter value is set but one of the lines fail.
Please correct this to:
$postParameter = (isset($_POST[$parameter]) and is_array($_POST[$parameter])) ? $_POST[$parameter] : array();
$getParameter = (isset($_GET[$parameter]) and is_array($_GET[$parameter])) ? $_GET[$parameter] : array();
Thanks
Regards Scout
(issue imported from #M14220)
Files
Updated by Chris topher over 14 years ago
Hi Martin,
thanks for your work to improve TYPO3!
Please send your patch to the Core List.
Check out http://typo3.org/teams/core/core-mailinglist-rules/