Added feature #2830: imgResource doesn't support stdWrap on minW and minH
authorOliver Hader <oliver.hader@typo3.org>
Mon, 3 Sep 2007 08:22:37 +0000 (08:22 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Mon, 3 Sep 2007 08:22:37 +0000 (08:22 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2479 709f56b5-9817-0410-a4d7-c38de5d9e867

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

index e0cda65..447553a 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2007-09-03  Oliver Hader  <oh@inpublica.de>
 
        * (trivial) Moving t3lib_TCEforms_inline::getJSON() to t3lib_div::array2json()
+       * (feature) Added feature #2830: imgResource doesn't support stdWrap on minW and minH
 
 2007-08-31  Michael Stucki  <michael@typo3.org>
 
index b1e1f8d..5eab7f0 100755 (executable)
@@ -4577,8 +4577,8 @@ class tslib_cObj {
                                                $fileArray['ext']= $this->stdWrap($fileArray['ext'],$fileArray['ext.']);
                                                $fileArray['maxW']= intval($this->stdWrap($fileArray['maxW'],$fileArray['maxW.']));
                                                $fileArray['maxH']= intval($this->stdWrap($fileArray['maxH'],$fileArray['maxH.']));
-                                               $fileArray['minW']= intval($fileArray['minW']);
-                                               $fileArray['minH']= intval($fileArray['minH']);
+                                               $fileArray['minW']= intval($this->stdWrap($fileArray['minW'],$fileArray['minW.']));
+                                               $fileArray['minH']= intval($this->stdWrap($fileArray['minH'],$fileArray['minH.']));
                                                $maskArray=     $fileArray['m.'];
                                                $maskImages=array();
                                                if (is_array($fileArray['m.'])) {       // Must render mask images and include in hash-calculating - else we cannot be sure the filename is unique for the setup!