Changeset 2016


Ignore:
Timestamp:
02/18/10 09:37:14 (14 years ago)
Author:
amuller
Message:

Ticket #913 - Resolução do critério de visualização das pastas

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/filemanager/inc/class.uifilemanager.inc.php

    r2010 r2016  
    11971197                        while(list($num, $group_array) = each($this->readable_groups)) 
    11981198                        { 
    1199                                 // Don't list directories for groups that don't have access 
    1200                                 if(     $GLOBALS['phpgw']->accounts->get_type($group_array['account_id']) == 'g' && 
    1201                                         !$this->groups_applications[$group_array['account_name']][$this->bo->appname]['enabled'] 
    1202                                 ) 
     1199                                // Don't list directories for groups that don't exists 
     1200                                $test=$this->bo->vfs->get_real_info(array('string' => $this->bo->fakebase.'/'.$group_array['account_name'], 
     1201                                        'relatives' => array(RELATIVE_NONE), 'relative' => False)); 
     1202                                if($test[mime_type]!='Directory') 
    12031203                                { 
    12041204                                        continue; 
Note: See TracChangeset for help on using the changeset viewer.