[BUGFIX] Fix static access to enumeration constants 94/36794/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:44:01 +0000 (21:44 +0100)
commit38aad9b69f20b710631ac05cfa960ce4f55ce349
tree3a0d24f511812cbc46c6e716017e0f01d71dbb3c
parent03f0b80e52019eb732ca5765eb4521af8b6fec8b
[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/36794
Reviewed-by: Thomas Maroschik <tmaroschik@dfau.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
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