|
@@ -157,7 +157,7 @@ class Category extends Backend
|
|
|
if ($row['cid'] == 0 && $this->auth->getUserInfo()['cid'] != 0) {
|
|
|
$this->error(__('You have no permission'));
|
|
|
}
|
|
|
- if ($row['cid'] != $this->auth->getUserInfo()['cid']) {
|
|
|
+ if ($row['cid'] != $this->auth->getUserInfo()['cid'] && $this->auth->getUserInfo()['cid'] != 0) {
|
|
|
$this->error(__('You have no permission'));
|
|
|
}
|
|
|
$adminIds = $this->getDataLimitAdminIds();
|