shish %!s(int64=3) %!d(string=hai) anos
pai
achega
93ee0a1496
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      biz-ghs/shop/classes/ShopAdminClass.php

+ 1 - 1
biz-ghs/shop/classes/ShopAdminClass.php

@@ -22,7 +22,7 @@ class ShopAdminClass extends BaseClass
     public static function lookMoneyPower($staff, $shop)
     public static function lookMoneyPower($staff, $shop)
     {
     {
         $lookMoney = 1;
         $lookMoney = 1;
-        if (isset($staff->supper) == false || $staff->supper == 0) {
+        if (isset($staff->super) == false || $staff->super == 0) {
             $lookMoney = 0;
             $lookMoney = 0;
         }
         }
         $mainId = $shop->mainId ?? 0;
         $mainId = $shop->mainId ?? 0;