aboutsummaryrefslogtreecommitdiff
path: root/app/views/helpers/index/normal/entry_bottom.phtml
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-01-08 21:37:59 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-01-08 21:37:59 +0100
commit03db0b5d3c431deb8c4f099b77e045160548f1b6 (patch)
tree23689b3ee83decfe7b276d9b00c2b1bc4aa6b014 /app/views/helpers/index/normal/entry_bottom.phtml
parentcb8d1480c1e39c27a96939f7ed51a60f33a7e62b (diff)
Fix a bug related to sharing
$item and $feed were not existing, replaced by other names. Introduce by the merging of dev in extension branch.
Diffstat (limited to 'app/views/helpers/index/normal/entry_bottom.phtml')
-rw-r--r--app/views/helpers/index/normal/entry_bottom.phtml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/helpers/index/normal/entry_bottom.phtml b/app/views/helpers/index/normal/entry_bottom.phtml
index 32317d027..20b4b332c 100644
--- a/app/views/helpers/index/normal/entry_bottom.phtml
+++ b/app/views/helpers/index/normal/entry_bottom.phtml
@@ -36,16 +36,16 @@
<li class="item"><?php
if ($bottomline_sharing) {
?><div class="dropdown">
- <div id="dropdown-share-<?php echo $item->id();?>" class="dropdown-target"></div>
- <a class="dropdown-toggle" href="#dropdown-share-<?php echo $item->id();?>">
+ <div id="dropdown-share-<?php echo $this->entry->id();?>" class="dropdown-target"></div>
+ <a class="dropdown-toggle" href="#dropdown-share-<?php echo $this->entry->id();?>">
<?php echo _i('share'); ?>
<?php echo _t('index.share'); ?>
</a>
<ul class="dropdown-menu">
<li class="dropdown-close"><a href="#close">❌</a></li><?php
- $link = $item->link();
- $title = $item->title() . ' · ' . $feed->name();
+ $link = $this->entry->link();
+ $title = $this->entry->title() . ' · ' . $this->feed->name();
foreach (FreshRSS_Context::$user_conf->sharing as $share_options) {
$share = FreshRSS_Share::get($share_options['type']);
$share_options['link'] = $link;