shish 4 vuotta sitten
vanhempi
commit
6819dae23b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      console/controllers/ShopController.php

+ 1 - 1
console/controllers/ShopController.php

@@ -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) {