Plugin Directory

Changeset 2988355


Ignore:
Timestamp:
11/03/2023 07:42:06 AM (2 years ago)
Author:
wpintegrate
Message:

fixed undefined variable issue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • o365-user-authentication/trunk/inc/o365_user_auth_online_class.php

    r2432102 r2988355  
    311311
    312312                    if( $azure_login_setting_flow->after_login_redirect_url == 'current_page' ){
    313                         $o365_user_auth_redirect_to = $_SESSION['currentpageurl'];
     313                        if( isset($_SESSION['currentpageurl']) && $_SESSION['currentpageurl'] != "" ){
     314                            $o365_user_auth_redirect_to = $_SESSION['currentpageurl'];
     315                        }else{
     316                            $o365_user_auth_redirect_to = get_site_url();
     317                        }
    314318                    }
    315319                    if(empty($o365_user_auth_redirect_to)){
Note: See TracChangeset for help on using the changeset viewer.