[BUGFIX] [FOLLOWUP] ext:beuser permission module throws query error 81/36181/5
authorChristian Kuhn <lolli@schwarzbu.ch>
Thu, 22 Jan 2015 19:07:55 +0000 (20:07 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 22 Jan 2015 19:18:48 +0000 (20:18 +0100)
A removed class property was still in use and results
in a wrong SQL query.

Related: #64416
Resolves: #64416
Releases: master
Change-Id: I4b2d17fe307a9137487101eacf64610a13f8a2db
Reviewed-on: http://review.typo3.org/36181
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/beuser/Classes/Controller/PermissionController.php

index 9f8eeb4..17f8639 100644 (file)
@@ -151,7 +151,7 @@ class PermissionController extends ActionController {
 
                /** @var PageTreeView */
                $tree = GeneralUtility::makeInstance(PageTreeView::class);
-               $tree->init('AND ' . $this->permissionsClause);
+               $tree->init();
                $tree->addField('perms_user', TRUE);
                $tree->addField('perms_group', TRUE);
                $tree->addField('perms_everybody', TRUE);
@@ -356,7 +356,7 @@ class PermissionController extends ActionController {
        protected function getRecursiveSelectOptions() {
                // Initialize tree object:
                $tree = GeneralUtility::makeInstance(PageTreeView::class);
-               $tree->init('AND ' . $this->permissionsClause);
+               $tree->init();
                $tree->addField('perms_userid', TRUE);
                $tree->makeHTML = 0;
                $tree->setRecs = 1;