@@ -185,7 +185,6 @@ class Manage
if (!$parent_member) {
Dever::alert('错误的邀请码');
}
- $order = Dever::db('agent/order')->find($id);
if ($order['mid'] == $parent_member['id']) {
Dever::alert('邀请人不能是自己');