Minahito
minah****@users*****
2006年 2月 2日 (木) 17:50:01 JST
Index: xoops2jp/html/modules/user/forms/AvatarEditForm.class.php diff -u xoops2jp/html/modules/user/forms/AvatarEditForm.class.php:1.1.2.1 xoops2jp/html/modules/user/forms/AvatarEditForm.class.php:1.1.2.2 --- xoops2jp/html/modules/user/forms/AvatarEditForm.class.php:1.1.2.1 Thu Jan 26 20:13:26 2006 +++ xoops2jp/html/modules/user/forms/AvatarEditForm.class.php Thu Feb 2 17:50:01 2006 @@ -55,13 +55,13 @@ function load(&$obj) { - $this->setVar('uid', $obj->get('uid')); + $this->set('uid', $obj->get('uid')); $this->mOldAvatarFilename = $obj->get('user_avatar'); } function update(&$obj) { - $obj->setVar('uid', $this->get('uid')); + $obj->set('uid', $this->get('uid')); $this->mFormFile = $this->get('uploadavatar'); @@ -70,7 +70,7 @@ $filename = $this->mFormFile->getFileName(); $this->mFormFile->setBodyName(substr($filename, 0, 25)); - $obj->setVar('user_avatar', $this->mFormFile->getFileName()); //< TODO + $obj->set('user_avatar', $this->mFormFile->getFileName()); //< TODO } }