[BUGFIX] imagecopyresized: correct invalid parameters
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Tue, 22 Nov 2011 13:37:25 +0000 (14:37 +0100)
committerSteffen Ritter <info@rs-websystems.de>
Tue, 13 Mar 2012 12:03:40 +0000 (13:03 +0100)
commit06ea329ba750ee738b03057906f3afb4f5f5f558
treee764b8cc300d74ae08b689ac452dc1a40a7f1d8e
parentd0bea7c24cf0cc26cdf86f0322825996bb76304c
[BUGFIX] imagecopyresized: correct invalid parameters

The classes t3lib_stdgraphic and t3lib_iconworks provide
the method imagecopyresized. Those functions got parameters
$w, $h twice in the function-header and therefore the function
only worked in "special cases".

This patch also adds a docblock and improves the (internal)
naming of the variables.

Change-Id: Id43229caa3694e8859f9912946c963f907f92951
Fixes: #26660
Releases: 4.4, 4.5, 4.6, 4.7
Reviewed-on: http://review.typo3.org/2564
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
t3lib/class.t3lib_iconworks.php
t3lib/class.t3lib_stdgraphic.php