Bug #25979

Wrong type hinting in interface tslib_menu_filterMenuPagesHook

Added by Michael Birchler over 10 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2011-04-15
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

public function tslib_menu_filterMenuPagesHook (array &$data, array $banUidArray, $spacer, tslib_tmenu $obj)

$obj should hint for tslib_menu and not as wrongly specified tslib_tmenu.

If hook is used and for example a GMENU will be processed an exception will be thrown.


Files

#1

Updated by Steffen Gebert over 10 years ago

Sounds reasonable! Michael, could you push your patch to the review system? See this tutorial

Thanks!
Steffen

#2

Updated by Mr. Hudson over 10 years ago

Patch set 1 of change I0a61737755afbda6e2ab6c02ba59c078a77cc020 has been pushed to the review server.
It is available at http://review.typo3.org/1649

#3

Updated by Mr. Hudson over 10 years ago

Patch set 2 of change I0a61737755afbda6e2ab6c02ba59c078a77cc020 has been pushed to the review server.
It is available at http://review.typo3.org/1649

#4

Updated by Michael Birchler over 10 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
#5

Updated by Benni Mack about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF