* Hide block for or.

This commit is contained in:
tanghucheng
2023-07-26 14:32:27 +08:00
parent b0c33baa93
commit 96f3517dae
5 changed files with 35 additions and 22 deletions
+1
View File
@@ -1735,6 +1735,7 @@ class block extends control
$closed = 0;
$products = $this->loadModel('product')->getList();
foreach($products as $product)
{
if(!$this->product->checkPriv($product->id)) continue;