Index: typo3/sysext/cms/tslib/media/scripts/fe_adminLib.inc =================================================================== --- typo3/sysext/cms/tslib/media/scripts/fe_adminLib.inc (revision 4713) +++ typo3/sysext/cms/tslib/media/scripts/fe_adminLib.inc (working copy) @@ -1025,6 +1025,10 @@ $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###'].= '';} $content = $this->cObj->substituteMarkerArray($templateCode, $markerArray);