Project

General

Profile

Actions

Bug #28833

closed

INTincScript_process: array check too late

Added by Björn Pedersen over 13 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-08-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Found by reading:

 
                $INTiS_key = 'INT_SCRIPT.'.substr($INTiS_cPart,0,32);
                $GLOBALS['TT']->push('Include '.$INTiS_config[$INTiS_key]['file'],'');
                $incContent='';
                if (is_array($INTiS_config[$INTiS_key]))    {
                    $INTiS_cObj = unserialize($INTiS_config[$INTiS_key]['cObj']);
                    /* @var $INTiS_cObj tslib_cObj */
                    $INTiS_cObj->INT_include=1;

$INTiS_config[$INTiS_key] is accessed as array (subkey ['file']) before the is_array check.

Actions

Also available in: Atom PDF