Skip to content

Commit

Permalink
Update restricted_site_access.php
Browse files Browse the repository at this point in the history
  • Loading branch information
turtlepod authored Oct 24, 2023
1 parent 5f911f8 commit 090363a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion restricted_site_access.php
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,8 @@ public static function get_options( $network = false ) {
} else {
$options = get_option( 'rsa_options' );
}
$options = is_array( $options ) ? $options : [];

$options = is_array( $options ) ? $options : array();

// Fill in defaults where values aren't set.
foreach ( self::$fields as $field_name => $field_details ) {
Expand Down

0 comments on commit 090363a

Please sign in to comment.