Commit 245556ec37ec66761e8b8da2f2f702cc20fda5ce
1 parent
6589c2f0
Поправил баг с 2м телефоном в контактах
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
frontend/views/site/contact.php
@@ -64,7 +64,9 @@ JS; | @@ -64,7 +64,9 @@ JS; | ||
64 | echo Html::a(Html::tag('strong', $settings->phone), 'tel:' . $settings->phone); | 64 | echo Html::a(Html::tag('strong', $settings->phone), 'tel:' . $settings->phone); |
65 | if (!empty( $settings->phone2 )) { | 65 | if (!empty( $settings->phone2 )) { |
66 | echo ' '; | 66 | echo ' '; |
67 | - echo Html::a('strong', $settings->phone2, "tel: {$settings->phone2}"); | 67 | + echo Html::a( |
68 | + Html::tag('strong', $settings->phone2, "tel:" . $settings->phone2) | ||
69 | + ); | ||
68 | } | 70 | } |
69 | ?> | 71 | ?> |
70 | </p> | 72 | </p> |