From 839477eb85f7ac0fa4e5d80574547060c87f743a Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Fri, 3 Jan 2014 00:08:31 -0500 Subject: Corrige les liens vers shaarli, poche et diaspora. Les liens contenaient un boolean au lieu de l'URL. --- app/views/helpers/view/normal_view.phtml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/views/helpers/view/normal_view.phtml b/app/views/helpers/view/normal_view.phtml index ce036e281..50afa6903 100644 --- a/app/views/helpers/view/normal_view.phtml +++ b/app/views/helpers/view/normal_view.phtml @@ -7,9 +7,11 @@ if (!empty($this->entries)) { $display_today = true; $display_yesterday = true; $display_others = true; - $shaarli = $this->loginOk && $this->conf->sharing ('shaarli'); - $poche = $this->loginOk && $this->conf->sharing ('poche'); - $diaspora = $this->loginOk && $this->conf->sharing ('diaspora'); + if ($this->loginOk) { + $shaarli = $this->conf->sharing ('shaarli'); + $poche = $this->conf->sharing ('poche'); + $diaspora = $this->conf->sharing ('diaspora'); + } $twitter = $this->conf->sharing ('twitter'); $google_plus = $this->conf->sharing ('g+'); $facebook = $this->conf->sharing ('facebook'); -- cgit v1.2.3