Minahito
minah****@users*****
2006年 10月 2日 (月) 22:48:51 JST
Index: xoops2jp/html/modules/user/actions/AvatarSelectAction.class.php diff -u xoops2jp/html/modules/user/actions/AvatarSelectAction.class.php:1.1.2.9 xoops2jp/html/modules/user/actions/AvatarSelectAction.class.php:1.1.2.10 --- xoops2jp/html/modules/user/actions/AvatarSelectAction.class.php:1.1.2.9 Mon Sep 25 18:39:41 2006 +++ xoops2jp/html/modules/user/actions/AvatarSelectAction.class.php Mon Oct 2 22:48:51 2006 @@ -1,7 +1,7 @@ <?php /** * @package user - * @version $Id: AvatarSelectAction.class.php,v 1.1.2.9 2006/09/25 09:39:41 minahito Exp $ + * @version $Id: AvatarSelectAction.class.php,v 1.1.2.10 2006/10/02 13:48:51 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -78,7 +78,7 @@ return false; } - if ($this->mObject->isAdmin()) { //< FIXME + if ($xoopsUser->isAdmin()) { //< FIXME return true; } elseif ($this->mObject->get('uid') == $xoopsUser->get('uid')) {