Minahito
minah****@users*****
2006年 1月 17日 (火) 19:36:25 JST
Index: xoops2jp/html/modules/user/class/LostpassMailBuilder.class.php diff -u xoops2jp/html/modules/user/class/LostpassMailBuilder.class.php:1.1.2.2 xoops2jp/html/modules/user/class/LostpassMailBuilder.class.php:1.1.2.3 --- xoops2jp/html/modules/user/class/LostpassMailBuilder.class.php:1.1.2.2 Sun Jan 1 23:10:42 2006 +++ xoops2jp/html/modules/user/class/LostpassMailBuilder.class.php Tue Jan 17 19:36:25 2006 @@ -37,7 +37,7 @@ $this->mMailer->assign("ADMINMAIL", $xoopsConfig['adminmail']); $this->mMailer->assign("SITEURL", XOOPS_URL."/"); $this->mMailer->assign("IP", $_SERVER['REMOTE_ADDR']); - $this->mMailer->assign("NEWPWD_LINK", XOOPS_URL."/lostactv.php?email=".$editform->mEmailAddress."&code=".substr($user->getVar("pass"), 0, 5)); + $this->mMailer->assign("NEWPWD_LINK", XOOPS_URL."/lostactv.php?email=".$user->get('email')."&code=".substr($user->get("pass"), 0, 5)); } function &getResult() Index: xoops2jp/html/modules/user/class/LostpassMailDirector.class.php diff -u xoops2jp/html/modules/user/class/LostpassMailDirector.class.php:1.1.2.2 xoops2jp/html/modules/user/class/LostpassMailDirector.class.php:1.1.2.3 --- xoops2jp/html/modules/user/class/LostpassMailDirector.class.php:1.1.2.2 Sun Jan 1 23:10:42 2006 +++ xoops2jp/html/modules/user/class/LostpassMailDirector.class.php Tue Jan 17 19:36:25 2006 @@ -13,13 +13,13 @@ $this->mXoopsConfig=&$xoopsConfig; } - function contruct(&$builder,$user,&$xoopsConfig) + function contruct() { - $this->mBuilder->setToUsers($user,$xoopsConfig); - $this->mBuilder->setFromEmail($user,$xoopsConfig); - $this->mBuilder->setSubject($user,$xoopsConfig); + $this->mBuilder->setToUsers($this->mXoopsUser,$this->mXoopsConfig); + $this->mBuilder->setFromEmail($this->mXoopsUser,$this->mXoopsConfig); + $this->mBuilder->setSubject($this->mXoopsUser,$this->mXoopsConfig); $this->mBuilder->setTemplate(); - $this->mBuilder->doAssign($user,$xoopsConfig); + $this->mBuilder->doAssign($this->mXoopsUser,$this->mXoopsConfig); } }