* [misc] fix block bug.

This commit is contained in:
sunguangming
2025-08-15 02:06:18 +00:00
parent 42438b76ae
commit 7aacb13fb2
+1
View File
@@ -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;