shish 1 год назад
Родитель
Сommit
a2b5eee036
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      biz-hd/staff/classes/StaffClass.php

+ 2 - 0
biz-hd/staff/classes/StaffClass.php

@@ -159,10 +159,12 @@ class StaffClass extends BaseClass
                     if ($shop->ptStyle == 2) {
                         $ghsMainId = $shop->mainId;
                         $admin->currentGhsShopId = $shop->id;
+                        $admin->save();
                     }
                     if ($shop->ptStyle == 1) {
                         $hdMainId = $shop->mainId;
                         $admin->currentShopId = $shop->id;
+                        $admin->save();
                     }
                 }
                 if ($ghsMainId != $hdMainId) {