rabin 3 years ago
parent
commit
84f2da473f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Address.php

+ 1 - 1
src/Address.php

@@ -21,7 +21,7 @@ class Address  extends Base
     {
         $where['uid'] = $uid;
         $where['id'] = $id;
-        $data = Dever::db('passport/address')->find($where);
+        $data = Dever::db('passport/address')->one($where);
 
         if ($data && Dever::project('area')) {
             $data = $this->getInfo($data);