diff options
Diffstat (limited to 'theme/default/html/search')
-rw-r--r-- | theme/default/html/search/main.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/theme/default/html/search/main.php b/theme/default/html/search/main.php index 336f49c..3042c33 100644 --- a/theme/default/html/search/main.php +++ b/theme/default/html/search/main.php @@ -12,21 +12,21 @@ <option value=""><?=$Language->text('date_d')?></option> <?php foreach($FORM['OPTIONS']['D'] as $option): ?> - <option value="<?=$option?>"<?=($FORM['SELECT']['D'] === $option) ? ' selected' : '' ?>><?=$option?></option> + <option value="<?=$option?>"<?=($FORM['SELECT']['D'] == $option) ? ' selected' : '' ?>><?=$option?></option> <?php endforeach; ?> </select> <select name="m"> <option value=""><?=$Language->text('date_m')?></option> <?php foreach($FORM['OPTIONS']['M'] as $option): ?> - <option value="<?=$option?>"<?=($FORM['SELECT']['M'] === $option) ? ' selected' : '' ?>><?=$option?></option> + <option value="<?=$option?>"<?=($FORM['SELECT']['M'] == $option) ? ' selected' : '' ?>><?=$option?></option> <?php endforeach; ?> </select> <select name="y"> <option value=""><?=$Language->text('date_y')?></option> <?php foreach($FORM['OPTIONS']['Y'] as $option): ?> - <option value="<?=$option?>"<?=($FORM['SELECT']['Y'] === $option) ? ' selected' : '' ?>><?=$option?></option> + <option value="<?=$option?>"<?=($FORM['SELECT']['Y'] == $option) ? ' selected' : '' ?>><?=$option?></option> <?php endforeach; ?> </select> |