dever 6 years ago
parent
commit
29d504266f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      product/lib/Manage.php

+ 1 - 1
product/lib/Manage.php

@@ -32,7 +32,7 @@ class Manage
         }
         
 
-        if ($info['invite_uid']) {
+        if ($info['invite_uid'] && $info['invite_uid'] != $info['uid']) {
             $user = Dever::db('passport/user')->one($info['invite_uid']);
             $table['邀请人'] = $user['username'];
         }