removed checked from php loop
This commit is contained in:
parent
1695c53837
commit
bce9973189
|
@ -60,7 +60,7 @@ if( ! function_exists( 'ofisuport_ajuts_filters_form') ) {
|
|||
<?php foreach( $fields['choices'] as $choicevalue => $choicelabel ) { ?>
|
||||
|
||||
<div class="filter" data-filter="<?php echo $fields['name'];?>">
|
||||
<input class="ofisuport-filter" type="checkbox" name="<?php echo $fields['name'];?>" <?php if( in_array($choicevalue,$filteredvalues['value']) ) { echo 'checked';}; ?> value="<?php echo $choicevalue ?>" />
|
||||
<input class="ofisuport-filter" type="checkbox" name="<?php echo $fields['name'];?>" <?php //if( in_array($choicevalue,$filteredvalues['value']) ) { echo 'checked'; }; ?> value="<?php echo $choicevalue ?>" />
|
||||
<label for="<?php echo $choicevalue; ?>"><?php echo $choicelabel;?></label>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue