* [misc] fix block bug.
This commit is contained in:
@@ -273,6 +273,7 @@ class blockModel extends model
|
||||
->markRight(1)
|
||||
->andWhere('vision')->eq($block->vision)
|
||||
->andWhere('hidden')->eq('0')
|
||||
->andWhere('account')->eq($this->app->user->account)
|
||||
->fetch('top');
|
||||
|
||||
if(!$top) $top = 0;
|
||||
|
||||
Reference in New Issue
Block a user