Commit da5fadec0aec54a0b3a01824220a32db1035c691
1 parent
869b523e
мозаика
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
frontend/views/site/index.php
| ... | ... | @@ -74,11 +74,11 @@ |
| 74 | 74 | <div class="col-xs-12 col-sm-3 col-md-3"> |
| 75 | 75 | <div class="row"> |
| 76 | 76 | <?php |
| 77 | - if(!empty( $options[ 0 ] )) { | |
| 77 | + if(!empty( $options[ 2 ] )) { | |
| 78 | 78 | /** |
| 79 | 79 | * @var TaxOption $option |
| 80 | 80 | */ |
| 81 | - $option = $options[ 0 ]; | |
| 81 | + $option = $options[ 2 ]; | |
| 82 | 82 | ?> |
| 83 | 83 | <div class="col-xs-12 col-sm-12 col-md-12 moz-1 moz-1-1"> |
| 84 | 84 | <a href="<?= Url::to([ |
| ... | ... | @@ -116,11 +116,11 @@ |
| 116 | 116 | <?php |
| 117 | 117 | } |
| 118 | 118 | |
| 119 | - if(!empty( $options[ 2 ] )) { | |
| 119 | + if(!empty( $options[ 0 ] )) { | |
| 120 | 120 | /** |
| 121 | 121 | * @var TaxOption $option |
| 122 | 122 | */ |
| 123 | - $option = $options[ 2 ]; | |
| 123 | + $option = $options[ 0 ]; | |
| 124 | 124 | ?> |
| 125 | 125 | <div class="col-xs-12 col-sm-12 col-md-12 moz-2 moz-2-1" style="margin-top: 2px"> |
| 126 | 126 | <a href="<?= Url::to([ | ... | ... |