在进行用户基本资料修改时,会将真实姓名修改为 用户昵称
--- user.php.orig 2011-08-04 21:59:59.000000000 +0800
+++ user.php 2011-08-04 22:01:15.000000000 +0800
@@ -325,7 +325,7 @@
}
public function setInfo($gender, $year, $month, $day, $email, $qq, $msn, $homepage, $uface, $furl, $fwidth, $fheight, $tname = null, $address = null, $phone = null){
- $tname = empty($tname)?$this->username:$tname;
+ $tname = empty($tname)?$this->realname:$tname;
$address = empty($address)?$this->address:$address;
$phone = empty($phone)?$this->telephone:$phone;
$ret = bbs_saveuserdata(
--
FROM 58.212.76.*