Commit fdb5346c1e4cc5e00774e06c672e3952b4c5076c
1 parent
da5fadec
мозаика
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
frontend/views/site/index.php
| @@ -116,11 +116,11 @@ | @@ -116,11 +116,11 @@ | ||
| 116 | <?php | 116 | <?php |
| 117 | } | 117 | } |
| 118 | 118 | ||
| 119 | - if(!empty( $options[ 0 ] )) { | 119 | + if(!empty( $options[ 3 ] )) { |
| 120 | /** | 120 | /** |
| 121 | * @var TaxOption $option | 121 | * @var TaxOption $option |
| 122 | */ | 122 | */ |
| 123 | - $option = $options[ 0 ]; | 123 | + $option = $options[ 3 ]; |
| 124 | ?> | 124 | ?> |
| 125 | <div class="col-xs-12 col-sm-12 col-md-12 moz-2 moz-2-1" style="margin-top: 2px"> | 125 | <div class="col-xs-12 col-sm-12 col-md-12 moz-2 moz-2-1" style="margin-top: 2px"> |
| 126 | <a href="<?= Url::to([ | 126 | <a href="<?= Url::to([ |
| @@ -141,11 +141,11 @@ | @@ -141,11 +141,11 @@ | ||
| 141 | <div class="col-xs-6 col-sm-3 col-md-3"> | 141 | <div class="col-xs-6 col-sm-3 col-md-3"> |
| 142 | <div class="row"> | 142 | <div class="row"> |
| 143 | <?php | 143 | <?php |
| 144 | - if(!empty( $options[ 3 ] )) { | 144 | + if(!empty( $options[ 0 ] )) { |
| 145 | /** | 145 | /** |
| 146 | * @var TaxOption $option | 146 | * @var TaxOption $option |
| 147 | */ | 147 | */ |
| 148 | - $option = $options[ 3 ]; | 148 | + $option = $options[ 0 ]; |
| 149 | ?> | 149 | ?> |
| 150 | <div class="col-xs-12 col-sm-12 col-md-12 moz-2 moz-2-2"> | 150 | <div class="col-xs-12 col-sm-12 col-md-12 moz-2 moz-2-2"> |
| 151 | <a href="<?= Url::to([ | 151 | <a href="<?= Url::to([ |