[BUGFIX] Warning on fetching undefined category definitions
authorOliver Hader <oliver@typo3.org>
Sat, 21 Jul 2012 11:29:58 +0000 (13:29 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 26 Jul 2012 21:51:41 +0000 (23:51 +0200)
commit0d2e4be914228a14dde8badf0edc66244b52c91d
tree1253b29d86e4e846a15c72704b5082270f00f5f0
parent82a756aff8a44ff72c79087b660749a39aea60f0
[BUGFIX] Warning on fetching undefined category definitions

Calling t3lib_category_Registry::getDatabaseTableDefinition()
for an extension that does not register any categories, will
cause a PHP Warning.

Change-Id: Id44022bcdca4484a2798777bcb9139fe070935e0
Fixes: #39155
Releases: 6.0
Reviewed-on: http://review.typo3.org/12968
Reviewed-by: Oliver Klee
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
t3lib/category/Registry.php