Fixed bug #14223: Notice undefined index in tslib_fe.php isOutputting()
authorChristian Kuhn <lolli@schwarzbu.ch>
Fri, 30 Apr 2010 19:37:23 +0000 (19:37 +0000)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 30 Apr 2010 19:37:23 +0000 (19:37 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7476 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_fe.php

index 0b4520a..e9699ae 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -24,6 +24,7 @@
 
 2010-04-30  Christian Kuhn  <lolli@schwarzbu.ch>
 
+       * Fixed bug #14223: Notice undefined index in tslib_fe.php isOutputting() (Thanks to Martin Müller)
        * Fixed bug #14222: Notice undefined index in tslib_pibase.php (Thanks to Martin Müller)
        * Fixed bug #14220: Notice undefined index in t3lib_div::_GPmerged() (Thanks to Martin Müller)
        * Fixed bug #14256: tslib_cObj has two test case files (Thanks to Oliver Klee)
index 35c8024..9fd5dd4 100644 (file)
@@ -3372,7 +3372,9 @@ if (version == "n3") {
                $enableOutput = (!$this->jumpurl);
 
                        // Call hook for possible disabling of output:
-               if (is_array($this->TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['isOutputting'])) {
+               if (isset($this->TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['isOutputting'])
+                       && is_array($this->TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['isOutputting'])) {
+
                        $_params = array('pObj' => &$this, 'enableOutput' => &$enableOutput);
                        foreach($this->TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['isOutputting'] as $_funcRef)  {
                                t3lib_div::callUserFunction($_funcRef,$_params,$this);