Skip to content
Snippets Groups Projects
Commit 775d8cde authored by Xavier Perseguers's avatar Xavier Perseguers
Browse files

[BUGFIX] Invalid method signature for t3lib_pageTree::init()

Method t3lib_treeView::init() is not properly overriden in subclasses.

Change-Id: Ia39eb8ba775e1f217fb77f402dd8f2ab4e1d24ae
Fixes: #30062
Releases: 4.6
Reviewed-on: http://review.typo3.org/5089
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
parent 538697c3
Branches
Tags
No related merge requests found
......@@ -49,10 +49,11 @@ class t3lib_browseTree extends t3lib_treeView {
* Initialize, setting what is necessary for browsing pages.
* Using the current user.
*
* @param string Additional clause for selecting pages.
* @return void
* @param string $clause Additional clause for selecting pages.
* @param string $orderByFields record ORDER BY field
* @return void
*/
function init($clause = '') {
function init($clause = '', $orderByFields = '') {
// this will hide records from display - it has nothing todo with user rights!!
$clauseExludePidList = '';
......
......@@ -60,10 +60,11 @@ class t3lib_pageTree extends t3lib_treeView {
* Init function
* REMEMBER to feed a $clause which will filter out non-readable pages!
*
* @param string Part of where query which will filter out non-readable pages.
* @return void
* @param string $clause Part of where query which will filter out non-readable pages.
* @param string $orderByFields record ORDER BY field
* @return void
*/
function init($clause = '') {
function init($clause = '', $orderByFields = '') {
parent::init(' AND deleted=0 ' . $clause, 'sorting');
if (t3lib_extMgm::isLoaded('cms')) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment