|
|
@@ -55,7 +55,7 @@ class ShopController extends Controller
|
|
|
if ($shop->mainId != $mainId) {
|
|
|
echo "ghs {$item->id} {$mainId} {$shop->mainId} \n";
|
|
|
}
|
|
|
- $ownShopId = $item->ownMainId ?? 0;
|
|
|
+ $ownShopId = $item->ownShopId ?? 0;
|
|
|
$ownMainId = $item->ownMainId ?? 0;
|
|
|
$ownShop = ShopClass::getById($ownShopId, true);
|
|
|
if ($ownShop->mainId != $ownMainId) {
|