Fixed bug #13901: GIFBULDER generates same picture twice (in typo3temp/GB) (thanks...
authorErnesto Baschny <ernst@cron-it.de>
Thu, 25 Mar 2010 15:31:40 +0000 (15:31 +0000)
committerErnesto Baschny <ernst@cron-it.de>
Thu, 25 Mar 2010 15:31:40 +0000 (15:31 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7162 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_stdgraphic.php

index a2eda22..c8bcb6c 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-03-25  Ernesto Baschny  <ernst@cron-it.de>
+
+       * Fixed bug #13901: GIFBULDER generates same picture twice (in typo3temp/GB) (thanks to Vladimir Podkovanov)
+
 2010-03-25  Christian Kuhn  <lolli@schwarzbu.ch>
 
        * Follow-up to bug #11239: Added testcase for tslib_content->getQueryArguments()
index c28d018..eb248e6 100644 (file)
@@ -2435,7 +2435,7 @@ class t3lib_stdGraphic    {
                                                // file has changed, delete the row
                                        $TYPO3_DB->exec_DELETEquery ('cache_imagesizes', 'md5hash='.$TYPO3_DB->fullQuoteStr($row['md5hash'],'cache_imagesizes'));
                                } else {
-                                       return (array($row['imagewidth'], $row['imageheight'], strtolower($reg[0]), $imageFile));
+                                       return (array((int) $row['imagewidth'], (int) $row['imageheight'], strtolower($reg[0]), $imageFile));
                                }
                        }
                }