mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 11:50:30 +02:00
@@ -1965,7 +1965,7 @@ function include_lan($path, $force = false)
|
||||
*/
|
||||
function force_userupdate($currentUser)
|
||||
{
|
||||
if (e_PAGE == 'usersettings.php' || (defined('FORCE_USERUPDATE') && (FORCE_USERUPDATE == false)) || strpos(e_SELF, ADMINDIR) == true )
|
||||
if (defset('e_PAGE') === 'usersettings.php' || defset('e_REQUEST_URI') === e107::url('user/myprofile/edit') || (defined('FORCE_USERUPDATE') && !FORCE_USERUPDATE) || strpos(e_SELF, ADMINDIR))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user