AUTO LOGOUT EXTENDED:Fix PHP Noticed / Errors

This commit is contained in:
2021-08-10 13:58:43 +09:00
parent d8da58f731
commit 670b837e9e
3 changed files with 8 additions and 3 deletions
+3 -1
View File
@@ -16,7 +16,9 @@ if ( ! class_exists( 'AL_EXT' ) ) {
public function __construct() {
$this->options = get_option( '_al_ext' );
if(!$this->options){
return;
}
if ( $this->options['type'] == 1 ) {
$this->normal_expire();
} elseif ( $this->options['type'] == 2 ) {