Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

[xupdate] fixed infinite loop bug on action 'InstallChecker'

  • Loading branch information...
nao-pon committed Dec 19, 2018
1 parent 63bed88 commit 0a5ea30e794a4a0ee74d9b23114e3d06749c17d3
Showing with 1 addition and 1 deletion.
  1. +1 −1 xoops_trust_path/modules/xupdate/admin/index.php
@@ -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();
}

0 comments on commit 0a5ea30

Please sign in to comment.
You can’t perform that action at this time.