Ticket #6250

lostpass.phpからqueryFをqueryへ変えてほしい
Date d'ouverture: 2005-06-30 10:51 Dernière mise à jour: 2005-06-30 10:51

Rapporteur:
Propriétaire:
(Aucun)
État:
Ouvert
Composant:
(Aucun)
Jalon:
(Aucun)
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Aucun
Fichier:
Aucun

Détails

なんとも言えないところなのですが
気になるので、希望ということで書いておきます
lostpass.php
line 66
if ( !$xoopsDB->queryF($sql) ) {

if ( !$xoopsDB->query($sql) ) {
で動くようにしてほしい


ここのところは、
line46
の前あたりで
単純に一度、xoops_confirmで、
確認画面を間に挟むだけで
queryFは排除できると思うのですが
だめなのでしょうか?

//-------------------------
//HACK by domifara
if ($code != '' && $areyou == $code) {
include XOOPS_ROOT_PATH."/header.php";
xoops_confirm(array('ok' =>
1, 'email' => $email , 'code' =>
$code ) , 'lostpass.php', _US_SUBMIT);
include
XOOPS_ROOT_PATH.'/footer.php';
exit();
}
if ( !$GLOBALS['xoopsSecurity']->check()) {
redirect_header("user.php" , 2 , implode
('<br />', $GLOBALS['xoopsSecurity']->getErrors()));
}
$code = isset($_POST['code']) ? trim(strip_tags
($myts->stripSlashesGPC($_POST['code']))) : '';
//-------------------------
ユーザーライクではないかもしれないれど
GETだけでメールが飛んだり、更新がかかるよりはましだと思う

Ticket History (0/0 Histories)

Attachment File List

No attachments

Modifier

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Connexion