Plugin Directory

Changeset 3374907


Ignore:
Timestamp:
10/08/2025 08:38:50 AM (5 months ago)
Author:
ilvchandan
Message:

Updating rectified files.

Location:
email-otp-authenticator
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • email-otp-authenticator/tags/6.3.2/lib/emailotpauthn-class.php

    r3374616 r3374907  
    551551}
    552552function emailotpauthn_settingsdetails($getthisval="",$setthisval=""){
    553     $emptysetting = 'not_initiated';
     553    $emptysetting = "not_initiated";
    554554    $defaultsettings = array(
    555555        "iscornrstyl"=>0,
     
    642642    $settingsdetls = get_option('emailotpauthn_settingsdetls',$emptysetting);
    643643    $settingsdetls = isset($settingsdetls) ? (empty(trim($settingsdetls)) ? $emptysetting : $settingsdetls) : $emptysetting;
    644     if(strcasecmp($settingsdetls,"not_initiated")==0){
     644    if(strcasecmp($settingsdetls,$emptysetting)==0){
    645645        //The below IF section code is UMOVS2NVS
    646646        if($predsettingspending) {
     
    656656        //The below IF section code is UMOVS2NVS
    657657        if(!isset($savedsettings["emailotpauthn_emailsettings"])){
     658            if(isset($savedsettings["setupwizardstep"])){
     659                if($savedsettings["setupwizardstep"]==12){
     660                    $savedsettings["setupwizardstep"]=10;
     661                }
     662            }
    658663            $defaultsettings = array_merge($defaultsettings, $savedsettings);
    659664            delete_option("emailotpauthn_settingsdetls");
  • email-otp-authenticator/trunk/lib/emailotpauthn-class.php

    r3374616 r3374907  
    551551}
    552552function emailotpauthn_settingsdetails($getthisval="",$setthisval=""){
    553     $emptysetting = 'not_initiated';
     553    $emptysetting = "not_initiated";
    554554    $defaultsettings = array(
    555555        "iscornrstyl"=>0,
     
    642642    $settingsdetls = get_option('emailotpauthn_settingsdetls',$emptysetting);
    643643    $settingsdetls = isset($settingsdetls) ? (empty(trim($settingsdetls)) ? $emptysetting : $settingsdetls) : $emptysetting;
    644     if(strcasecmp($settingsdetls,"not_initiated")==0){
     644    if(strcasecmp($settingsdetls,$emptysetting)==0){
    645645        //The below IF section code is UMOVS2NVS
    646646        if($predsettingspending) {
     
    656656        //The below IF section code is UMOVS2NVS
    657657        if(!isset($savedsettings["emailotpauthn_emailsettings"])){
     658            if(isset($savedsettings["setupwizardstep"])){
     659                if($savedsettings["setupwizardstep"]==12){
     660                    $savedsettings["setupwizardstep"]=10;
     661                }
     662            }
    658663            $defaultsettings = array_merge($defaultsettings, $savedsettings);
    659664            delete_option("emailotpauthn_settingsdetls");
Note: See TracChangeset for help on using the changeset viewer.