|
@@ -188,7 +188,7 @@ class My extends Core
|
|
|
if ($this->data['user']['role']['type'] == 2 && $this->data['user']['role']['area'] == 1) {
|
|
|
$temp = explode(',', $this->data['user']['area']);
|
|
|
$city = Dever::db('area/city')->find($temp[1]);
|
|
|
- if ($city && $city['level'] == 1) {
|
|
|
+ if ($city && $city['level_id'] == 1) {
|
|
|
$this->data['button']['up'] = 2;
|
|
|
}
|
|
|
}
|