aboutsummaryrefslogtreecommitdiff
path: root/app/views/index/normal.phtml
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-12-17 21:15:24 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-12-17 21:15:24 +0100
commit875b8a72f97429c4e4df6d292daf4261fb7a45bd (patch)
tree55c06f3b199a952d539e5c8aa3ac2e50de3dbf4d /app/views/index/normal.phtml
parent7f4ca35fc331ca4ce5e097d574e99417da0ef73e (diff)
Coding style endforeach (must be avoided)
Diffstat (limited to 'app/views/index/normal.phtml')
-rw-r--r--app/views/index/normal.phtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/index/normal.phtml b/app/views/index/normal.phtml
index 66111397c..b8a78cc3d 100644
--- a/app/views/index/normal.phtml
+++ b/app/views/index/normal.phtml
@@ -141,7 +141,7 @@ if (!empty($this->entries)) {
<ul class="dropdown-menu">
<li class="dropdown-close"><a href="#close">❌</a></li>
<?php
- foreach ($sharing as $share) :
+ foreach ($sharing as $share) {
$type_share = FreshRSS_Context::$conf->shares[$share['type']];
$has_specific_title = ($type_share['form'] === 'advanced');
?>
@@ -150,7 +150,7 @@ if (!empty($this->entries)) {
<?php echo $has_specific_title ? $share['name'] : _t('index.share.' . $share['name']); ?>
</a>
</li>
- <?php endforeach;?>
+ <?php } ?>
</ul>
</div>
<?php } ?>