发布v2.6.8版本
This commit is contained in:
@@ -112,10 +112,12 @@ class adminClassModel extends Model
|
||||
$tj[] = $this->rock->dbinstr($fids, 'all');
|
||||
$tj[] = $this->rock->dbinstr($fids, 'u'.$uid);
|
||||
if($us){
|
||||
$dep = explode(',', $us['deptpath']);
|
||||
foreach($dep as $deps){
|
||||
$_deps = str_replace(array('[',']'), array('',''), $deps);
|
||||
$tj[] = $this->rock->dbinstr($fids, 'd'.$_deps);
|
||||
if(!isempt($us['deptpath'])){
|
||||
$dep = explode(',', $us['deptpath']);
|
||||
foreach($dep as $deps){
|
||||
$_deps = str_replace(array('[',']'), array('',''), $deps);
|
||||
$tj[] = $this->rock->dbinstr($fids, 'd'.$_deps);
|
||||
}
|
||||
}
|
||||
//所在组Id
|
||||
$gids = m('sjoin')->getgroupid($uid);
|
||||
|
||||
Reference in New Issue
Block a user