HOT FIX
This commit is contained in:
parent
f46a263ffa
commit
623ae27d2c
|
|
@ -31,7 +31,7 @@ class Category extends Model
|
|||
if (App::$user && App::$user->isAdmin == 1) {
|
||||
return $this->getAll(array('order' => 'ord ASC', 'asArray' => true));
|
||||
} else {
|
||||
return $this->getAll(array('where' => '`id` NOT IN ('. implode(',', $this->paidIds).')', 'order' => 'ord ASC', 'asArray' => true));
|
||||
return $this->getAll(array('where' => '`id` NOT IN ('. implode(',', self::$paidIds).')', 'order' => 'ord ASC', 'asArray' => true));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue