Changeset 8997


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

release 3.0.0
fix bug on install/update process

File:
1 edited

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 
Note: See TracChangeset for help on using the changeset viewer.