Skip to content

Commit

Permalink
fixed sonar issue
Browse files Browse the repository at this point in the history
  • Loading branch information
zubairraeen committed Feb 5, 2024
1 parent 82f6555 commit a698d75
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions php/classes/class-qsm-contact-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a698d75

Please sign in to comment.