From bfcecb98727ef0719e210cec8748a27044432140 Mon Sep 17 00:00:00 2001 From: Steffen Gebert Date: Sun, 5 Dec 2010 11:25:36 +0000 Subject: [PATCH] Fixed bug #16574: PHP notices from XCLASS inclusions git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9758 709f56b5-9817-0410-a4d7-c38de5d9e867 --- view/class.tx_feedit_editpanel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view/class.tx_feedit_editpanel.php b/view/class.tx_feedit_editpanel.php index d33f3be..5900c35 100644 --- a/view/class.tx_feedit_editpanel.php +++ b/view/class.tx_feedit_editpanel.php @@ -418,8 +418,8 @@ class tx_feedit_editpanel { } -if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/feedit/view/class.tx_feedit_editpanel.php']) { - include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/feedit/view/class.tx_feedit_editpanel.php']); +if (defined('TYPO3_MODE') && isset($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/feedit/view/class.tx_feedit_editpanel.php'])) { + include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/feedit/view/class.tx_feedit_editpanel.php']); } ?> \ No newline at end of file