Fixed bug #10119: Broken fe_adminLib.inc
authorSteffen Kamper <info@sk-typo3.de>
Tue, 17 Nov 2009 16:51:32 +0000 (16:51 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Tue, 17 Nov 2009 16:51:32 +0000 (16:51 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@6454 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/media/scripts/fe_adminLib.inc

index bf54c10..cf4c697 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,6 +16,7 @@
 
 2009-11-17  Steffen Kamper  <info@sk-typo3.de>
 
 
 2009-11-17  Steffen Kamper  <info@sk-typo3.de>
 
+       * Fixed bug #10119: Broken fe_adminLib.inc
        * Fixed bug #12616: Set recycler height dynamic
        * Fixed bug #12624: Unreplaced marker in login screen of classic skin
 
        * Fixed bug #12616: Set recycler height dynamic
        * Fixed bug #12624: Unreplaced marker in login screen of classic skin
 
index a0dc960..02797a0 100755 (executable)
@@ -996,6 +996,10 @@ class user_feAdmin {
                        $templateCode = $this->removeRequired($templateCode,$failure);
                        $this->setCObjects($templateCode);
 
                        $templateCode = $this->removeRequired($templateCode,$failure);
                        $this->setCObjects($templateCode);
 
+                       if (!is_array($this->dataArr)) {
+                               $this->dataArr = array();
+                       }
+                       
                        $markerArray = $this->cObj->fillInMarkerArray($this->markerArray, $this->dataArr, '', TRUE, 'FIELD_', $this->recInMarkersHSC);
                        if ($this->conf['create.']['preview'] && !$this->previewLabel)  {$markerArray['###HIDDENFIELDS###'].= '<input type="hidden" name="preview" value="1" />';}
                        $content = $this->cObj->substituteMarkerArray($templateCode, $markerArray);
                        $markerArray = $this->cObj->fillInMarkerArray($this->markerArray, $this->dataArr, '', TRUE, 'FIELD_', $this->recInMarkersHSC);
                        if ($this->conf['create.']['preview'] && !$this->previewLabel)  {$markerArray['###HIDDENFIELDS###'].= '<input type="hidden" name="preview" value="1" />';}
                        $content = $this->cObj->substituteMarkerArray($templateCode, $markerArray);