[BUGFIX] Fix static access to enumeration constants 27/37027/2
authorMathias Brodala <mbrodala@pagemachine.de>
Tue, 10 Feb 2015 14:27:59 +0000 (15:27 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 19 Feb 2015 20:45:14 +0000 (21:45 +0100)
commit500df0ded1fec59fa5293d337fe57251fd796095
tree0de983b88b1b0df84b1e3f6d6c4565d46c021e89
parent4869cbd1915ba3d42bce8761670b1e351389bfc7
[BUGFIX] Fix static access to enumeration constants

Enumeration constants need to be loaded on static access
without requiring a instance before.

Resolves: #64971
Releases: master,6.2
Change-Id: Iaaefe5648ab70743cfc2efc73c81f870833b730d
Reviewed-on: http://review.typo3.org/37027
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Type/Enumeration.php
typo3/sysext/core/Tests/Unit/Type/EnumerationTest.php