diff --git a/inc/cachify.class.php b/inc/cachify.class.php index c37f1aae..fea16b09 100644 --- a/inc/cachify.class.php +++ b/inc/cachify.class.php @@ -1596,8 +1596,8 @@ public static function validate_options( $data ) { 'only_guests' => (int) ( ! empty( $data['only_guests'] )), 'compress_html' => (int) $data['compress_html'], 'cache_expires' => (int) ( isset( $data['cache_expires'] ) ? $data['cache_expires'] : self::$options['cache_expires'] ), - 'without_ids' => (string) sanitize_text_field( @$data['without_ids'] ), - 'without_agents' => (string) sanitize_text_field( @$data['without_agents'] ), + 'without_ids' => (string) isset( $data['without_ids'] ) ? sanitize_text_field( $data['without_ids'] ) : '', + 'without_agents' => (string) isset( $data['without_ids'] ) ? sanitize_text_field( $data['without_agents'] ) : '', 'use_apc' => (int) $data['use_apc'], 'reset_on_comment' => (int) ( ! empty( $data['reset_on_comment'] )), );