From 7aacb13fb2cc766e8714bce674cbdeef64dff4f3 Mon Sep 17 00:00:00 2001 From: sunguangming Date: Fri, 15 Aug 2025 02:05:41 +0000 Subject: [PATCH] * [misc] fix block bug. --- module/block/model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/block/model.php b/module/block/model.php index d3729851fa..4f54fa7d45 100644 --- a/module/block/model.php +++ b/module/block/model.php @@ -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;