Undefined index: save_lz
-
There is an undefined index in the admin page for 2fa
/wp-admin/admin.php?page=loginizer_2fawp-content/plugins/loginizer/functions.php on line 137
function lz_POSTchecked($name, $default = false, $submit_name = ''){ if(!empty($submit_name)){ $post_to_check = $_POST[$submit_name]; }else{
I added a check for if the value was set in $_POST I’m not sure if thats the correct way to solve the issue.
function lz_POSTchecked($name, $default = false, $submit_name = ''){ if(!empty($submit_name) && isset($_POST[$submit_name])){ $post_to_check = $_POST[$submit_name]; }else{
Hope that helps, I’m using version 1.6.1
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Undefined index: save_lz’ is closed to new replies.