Skip to content
Snippets Groups Projects
Commit 5c10d378 authored by Matthias Meusburger's avatar Matthias Meusburger
Browse files

Hotline#22882: Fix City and Zip code display

parent 271d1cd2
Branches
Tags
4 merge requests!915Master,!914Hotline master,!913Stable,!909Hotline#22882 location information in article
......@@ -30,11 +30,8 @@ class ZendAfi_View_Helper_RenderLieu extends Zend_View_Helper_HtmlElement {
if (nl2br($lieu->getAdresse()))
$adresse[] = nl2br($lieu->getAdresse());
if ($lieu->getCodePostal())
$adresse[] = $lieu->getCodePostal();
if ($lieu->getVille())
$adresse[] = $lieu->getVille();
if ($lieu->getCodePostal() || $lieu->getVille())
$adresse[] = $lieu->getCodePostal() . ' ' . $lieu->getVille();
if ($lieu->getTelephone())
$adresse[] = $lieu->getTelephone();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment