From a698d756cd21045a0e075313a4cb47f0d7f54122 Mon Sep 17 00:00:00 2001 From: Mohammad Zubair Ali Date: Mon, 5 Feb 2024 19:48:58 +0530 Subject: [PATCH] fixed sonar issue --- php/classes/class-qsm-contact-manager.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/php/classes/class-qsm-contact-manager.php b/php/classes/class-qsm-contact-manager.php index 3af35c4e8..1bead68fc 100644 --- a/php/classes/class-qsm-contact-manager.php +++ b/php/classes/class-qsm-contact-manager.php @@ -331,10 +331,6 @@ public static function save_fields( $quiz_id, $fields ) { return true; } - if ( ! is_array( $fields ) || empty( $fields ) ) { - //return false; - } - $quiz_id = intval( $quiz_id ); if ( 0 === $quiz_id ) { return false;