Fixed bug #8944: PHP-Error in class.em_index.php on line 4333
authorDmitry Dulepov <dmitry.dulepov@gmail.com>
Thu, 27 Nov 2008 14:42:09 +0000 (14:42 +0000)
committerDmitry Dulepov <dmitry.dulepov@gmail.com>
Thu, 27 Nov 2008 14:42:09 +0000 (14:42 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-2@4490 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/mod/tools/em/class.em_index.php

index b1b6eac..2b62cb3 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-11-27  Dmitry Dulepov  <dmitry.dulepov@gmail.com>
+
+       * #Fixed bug #8944: PHP-Error in class.em_index.php on line 4333
+
 2008-11-25  Steffen Kamper  <info@sk-typo3.de>
 
        * Fixed bug #9725: double enquote in t3lib_htmlmail of returnPath
index e14dc5d..f7f4a5e 100644 (file)
@@ -378,7 +378,7 @@ class SC_mod_tools_em_index extends t3lib_SCbase {
                $this->MCONF = $GLOBALS['MCONF'];
 
                        // Setting GPvars:
-               $this->CMD = t3lib_div::_GP('CMD');
+               $this->CMD = is_array(t3lib_div::_GP('CMD')) ? t3lib_div::_GP('CMD') : array();
                $this->lookUpStr = trim(t3lib_div::_GP('_lookUp'));
                $this->listRemote = t3lib_div::_GP('ter_connect');
                $this->listRemote_search = trim(t3lib_div::_GP('ter_search'));