Weekday needs to detect start or end as well

pull/2077/head
digital-gnome 2017-12-13 22:21:13 -05:00
parent 86af2269b2
commit db59f06520
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ for ( $i=0; $i < count($terms); $i++ ) {
<td><?php echo htmlSelect( "filter[Query][terms][$i][op]", $opTypes, $term['op'] ); ?></td>
<td><?php echo htmlSelect( "filter[Query][terms][$i][val]", $states, $term['val'] ); ?></td>
<?php
} elseif ( $term['attr'] == 'Weekday' ) {
} elseif ( strpos($term['attr'], 'Weekday') !== false ) {
?>
<td><?php echo htmlSelect( "filter[Query][terms][$i][op]", $opTypes, $term['op'] ); ?></td>
<td><?php echo htmlSelect( "filter[Query][terms][$i][val]", $weekdays, $term['val'] ); ?></td>