Show
Ignore:
Timestamp:
05/12/08 15:10:17 (5 years ago)
Author:
d0nut
Message:

new feature: privileges are checked in memberslistpage

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • profileaccessmatrix/files/lib/system/event/listener/ProfileAccessMatrixUserSearchFormListener.class.php

    r507 r509  
    8484 
    8585                $matrix = WCF::getCache()->get('profileaccessmatrix'); 
    86                  
     86                $check = $this->accessibleGroups($matrix); 
     87 
    8788                foreach ($this->eventObj->activeOptions as $name => $option) { 
    8889                        if(isset($this->eventObj->values[$option['optionName']])) { 
    89                                 $value = $this->eventObj->values[$option['optionName']]; 
    90                                 $check = $this->accessibleGroups($matrix, $option['optionID']); 
     90                                $value = $this->eventObj->values[$option['optionName']];                                 
    9191                                $condition = $this->getTypeObject($option['optionType'])->getCondition($option, $value, isset($this->matchExactly[$name])); 
    9292                                if ($condition !== false) {