dever 4 năm trước cách đây
mục cha
commit
746c88fdad
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lib/Info.php

+ 1 - 1
lib/Info.php

@@ -364,7 +364,7 @@ class Info
             $where['goods_area'] = $info['goods_area'];
         }
         # 用户所在地理位置 
-        if ($user && $user['area_id']) {
+        if ($user && isset($user['area_id']) && $user['area_id']) {
             $area = explode(',', $user['area_id']);
             $where['area'] = $area[0];
         }