FIX: Least condition was not recognized (&lt; instead of <)

This commit is contained in:
Savvas Hadjigeorgiou
2022-01-14 07:41:49 +02:00
parent 2cd91e8e36
commit 1d0115cbba

View File

@@ -76,7 +76,7 @@ class SP_Meta_Box_Outcome_Details extends SP_Meta_Box_Config {
); );
foreach ( $options as $key => $value ) : foreach ( $options as $key => $value ) :
printf( '<option value="%s" %s>%s</option>', esc_attr( $key ), selected( true, $key == $condition, false ), esc_attr( $value ) ); printf( '<option value="%s" %s>%s</option>', esc_attr( $key ), selected( true, $key == htmlspecialchars_decode( $condition ), false ), esc_attr( $value ) );
endforeach; endforeach;
?> ?>
</select> </select>