diff options
| author | 2014-01-03 00:08:31 -0500 | |
|---|---|---|
| committer | 2014-01-03 00:08:31 -0500 | |
| commit | 839477eb85f7ac0fa4e5d80574547060c87f743a (patch) | |
| tree | 37d5048e3bd091f4ef7967eb17982e843fa7ec5a | |
| parent | f0c2bb74ebbae1bd336d79a22c5ccf4080620bb4 (diff) | |
Corrige les liens vers shaarli, poche et diaspora.
Les liens contenaient un boolean au lieu de l'URL.
| -rw-r--r-- | app/views/helpers/view/normal_view.phtml | 8 |
1 files 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'); |
