Navigation Menu

Skip to content

Commit

Permalink
[xupdate] fixed infinite loop bug on action 'InstallChecker'
Browse files Browse the repository at this point in the history
  • Loading branch information
nao-pon committed Dec 19, 2018
1 parent 63bed88 commit 0a5ea30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xoops_trust_path/modules/xupdate/admin/index.php
Expand Up @@ -8,7 +8,7 @@

// to call User_Utils::checkUsersPassColumnLength()
// and insert `define('XCUBE_CORE_USER_PASS_LEN_FIXED', true);` to mainfile.php
if (!defined('XCUBE_CORE_USER_PASS_LEN_FIXED') && is_callable('User_Utils::checkUsersPassColumnLength') && xoops_getrequest('action') !== 'UserPassColumnLenFix') {
if (!defined('XCUBE_CORE_USER_PASS_LEN_FIXED') && is_callable('User_Utils::checkUsersPassColumnLength') && xoops_getrequest('action') !== 'InstallChecker' && xoops_getrequest('action') !== 'UserPassColumnLenFix') {
header('Location: ' . XOOPS_URL . '/modules/xupdate/admin/index.php?action=UserPassColumnLenFix&xoops_redirect='.rawurlencode($_SERVER['REQUEST_URI']));
exit();
}
Expand Down

0 comments on commit 0a5ea30

Please sign in to comment.