dever hace 4 años
padre
commit
746c88fdad
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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];
         }