[BUGFIX] imagecopyresized: correct invalid parameters
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Tue, 22 Nov 2011 10:03:12 +0000 (11:03 +0100)
committerJigal van Hemert <jigal@xs4all.nl>
Sun, 11 Nov 2012 19:39:11 +0000 (20:39 +0100)
commit56e66659ee444105d5b91cc8ec1e36807909d404
treef559eebc698f6f562b76cfa1e614e0a5de2ede40
parentdc4ccbd81bad8c0e396c30093b44a0776d5240e6
[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
Resolves: #26660
Releases: 4.5, 4.6, 4.7
Reviewed-on: http://review.typo3.org/6831
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
t3lib/class.t3lib_iconworks.php
t3lib/class.t3lib_stdgraphic.php