Minahito
minah****@users*****
2006年 11月 10日 (金) 20:30:00 JST
Index: xoops2jp/html/modules/user/forms/AvatarEditForm.class.php diff -u xoops2jp/html/modules/user/forms/AvatarEditForm.class.php:1.1.2.5.2.3 xoops2jp/html/modules/user/forms/AvatarEditForm.class.php:1.1.2.5.2.4 --- xoops2jp/html/modules/user/forms/AvatarEditForm.class.php:1.1.2.5.2.3 Sat Oct 7 15:30:10 2006 +++ xoops2jp/html/modules/user/forms/AvatarEditForm.class.php Fri Nov 10 20:30:00 2006 @@ -1,7 +1,7 @@ <?php /** * @package user - * @version $Id: AvatarEditForm.class.php,v 1.1.2.5.2.3 2006/10/07 06:30:10 ryuji_amano Exp $ + * @version $Id: AvatarEditForm.class.php,v 1.1.2.5.2.4 2006/11/10 11:30:00 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -88,7 +88,7 @@ { $avatar = null; if ($this->mFormFile != null) { - $avatarHandler =& xoops_getmodulehandler('avatar'); + $avatarHandler =& xoops_getmodulehandler('avatar', 'user'); $avatar =& $avatarHandler->create(); $avatar->set('avatar_file', $this->mFormFile->getFileName()); $avatar->set('avatar_mimetype', $this->mFormFile->getContentType()); Index: xoops2jp/html/modules/user/forms/AvatarSelectForm.class.php diff -u xoops2jp/html/modules/user/forms/AvatarSelectForm.class.php:1.1.2.3.2.3 xoops2jp/html/modules/user/forms/AvatarSelectForm.class.php:1.1.2.3.2.4 --- xoops2jp/html/modules/user/forms/AvatarSelectForm.class.php:1.1.2.3.2.3 Fri Nov 10 15:19:30 2006 +++ xoops2jp/html/modules/user/forms/AvatarSelectForm.class.php Fri Nov 10 20:30:00 2006 @@ -1,7 +1,7 @@ <?php /** * @package user - * @version $Id: AvatarSelectForm.class.php,v 1.1.2.3.2.3 2006/11/10 06:19:30 minahito Exp $ + * @version $Id: AvatarSelectForm.class.php,v 1.1.2.3.2.4 2006/11/10 11:30:00 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -42,7 +42,7 @@ // // Check whether specified avatar_id exists. // - $handler =& xoops_getmodulehandler('avatar'); + $handler =& xoops_getmodulehandler('avatar', 'user'); $obj =& $handler->get($this->mSelectedId); if (!is_object($obj)) { @@ -57,7 +57,7 @@ function update(&$obj) { - $handler =& xoops_getmodulehandler('avatar'); + $handler =& xoops_getmodulehandler('avatar', 'user'); if ($this->mSelectedId == 0) { $obj->set('user_avatar', 'blank.gif');