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

+ 1 - 1
app/shop/lib/Info.php

@@ -219,7 +219,7 @@ class Info
             $data = Dever::db('shop/info')->getOne($id);
         }
 
-        if ($data['city']) {
+        if ($data && isset($data['city']) && $data['city']) {
             $city = Dever::db('area/city')->one($data['city']);
             $data['city_name'] = $city['name'];
         }