rabin 3 năm trước cách đây
mục cha
commit
8337d9fe61
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/Api.php

+ 1 - 1
src/Api.php

@@ -155,7 +155,7 @@ class Api
         $info = Dever::db('invite/relation')->one($data);
         if ($info) {
         	if ($info['level'] == 1) {
-        		return $info['uid'];
+        		return $info['to_uid'];
         	}
         	$where['level'] = $info['level'] - 1;
         	$where['to_uid'] = $uid;