Commit 6838f9b719eae782e08632c653a08fa60f29019a
1 parent
5953b4fa
Merge branch 'master' of gitlab.artweb.com.ua:steska/clinica into clinica_khonko
# Conflicts: # frontend/controllers/SiteController.php # frontend/views/layouts/main.php # frontend/views/service/view.php # frontend/views/site/index.php
Showing
1 changed file
with
2 additions
and
4 deletions
Show diff stats
frontend/views/layouts/main.php
... | ... | @@ -649,10 +649,8 @@ $this->registerMetaTag( |
649 | 649 | ], |
650 | 650 | |
651 | 651 | ]; |
652 | - if(isset($phones) && !empty($phones)){foreach ($phones as $key =>$phone) | |
653 | - { | |
654 | - $layoutMicrodata['contactPoint']['telephone'.$key]=$phone; | |
655 | - }} | |
652 | + if(isset($phones[0])) | |
653 | + $layoutMicrodata['contactPoint']['telephone']=$phones[0]; | |
656 | 654 | |
657 | 655 | |
658 | 656 | $settings->email; | ... | ... |