AUTO LOGOUT EXTENDED:Fix PHP Noticed / Errors
This commit is contained in:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user