[BUGFIX] imagecopyresized: correct invalid parameters
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Wed, 14 Mar 2012 12:40:37 +0000 (13:40 +0100)
committerSteffen Ritter <info@rs-websystems.de>
Mon, 15 Oct 2012 17:21:36 +0000 (19:21 +0200)
commit1af5018d89cab1e3b7708f2e9185cefba32b5284
tree4ddeb2dd74f9aba940620f75bc9d6cf7cdce1156
parente045b2281f6df64f41f3c9d27ae8cd204676f668
[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: I00166cb30b278e1124675111d2cc3174811e4151
Resolves: #26660
Releases: 4.4, 4.5, 4.6, 4.7
Reviewed-on: http://review.typo3.org/6829
Reviewed-by: Wouter Wolters
Reviewed-by: Andreas Bouche
Tested-by: Andreas Bouche
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
t3lib/class.t3lib_iconworks.php
t3lib/class.t3lib_stdgraphic.php