[BUGFIX] Improve check in t3lib_div::makeInstance
authorBjoern Pedersen <bjoern.pedersen@frm2.tum.de>
Thu, 21 Jul 2011 08:14:57 +0000 (10:14 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Sun, 24 Jul 2011 16:34:21 +0000 (18:34 +0200)
commitb6ccd12f0c09d47cbc90cbfbea2f084d698d007f
tree099f57e436b392068c99f9ab2df6352eb952822e
parent7122d54f381d3bdcb921cd1c99f32c0c8f19defd
[BUGFIX] Improve check in t3lib_div::makeInstance

The strict string comparison is not enough to catch
all wrong arguments and throw a correct error.

Change-Id: Id7911229f90d1aa0f6ce5830a434bceb4ab61da5
Resolves: #25047
Releases: 4.6
Reviewed-on: http://review.typo3.org/3446
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
t3lib/class.t3lib_div.php
tests/t3lib/class.t3lib_divTest.php