Changeset 8997

Show
Ignore:
Timestamp:
01/30/11 23:13:49 (2 years ago)
Author:
grum
Message:

release 3.0.0
fix bug on install/update process

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • extensions/AMenuManager/amm_install.class.inc.php

    r8995 r8997  
    310310        unset($this->config['amm_sections_items']); 
    311311      } 
     312 
     313 
     314      $usersList=array('guest', 'generic', 'normal', 'webmaster', 'admin'); 
     315      foreach($this->config['amm_blocks_items'] as $key => $item) 
     316      { 
     317        $tmp0=explode('/', $item['visibility']); 
     318        $this->config['amm_blocks_items'][$key]['visibility']=implode(',', array_diff($usersList, explode(',', $tmp0[0]))).'/'.$tmp0[1]; 
     319      } 
    312320    } 
    313321