diff options
| author | 2023-05-09 13:08:22 +0200 | |
|---|---|---|
| committer | 2023-05-09 13:08:22 +0200 | |
| commit | afacebc3e2ab30c67a59eb6ef5a9351390ab2615 (patch) | |
| tree | 41167f4e53961e1774b86d9f9be848cc9d04b519 /app | |
| parent | 54c8de86c73ce831df7912428b4f9fd849d67aca (diff) | |
Share in anonymous mode (#5261)
#fix https://github.com/FreshRSS/FreshRSS/issues/5248
Co-authored-by: maTh <math-home@web.de>
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/helpers/index/normal/entry_bottom.phtml | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/app/views/helpers/index/normal/entry_bottom.phtml b/app/views/helpers/index/normal/entry_bottom.phtml index 290a6f35f..665935415 100644 --- a/app/views/helpers/index/normal/entry_bottom.phtml +++ b/app/views/helpers/index/normal/entry_bottom.phtml @@ -1,13 +1,8 @@ <?php /** @var FreshRSS_View $this */ - $sharing = array(); - if (FreshRSS_Auth::hasAccess()) { - $sharing = FreshRSS_Context::$user_conf->sharing; - } - $bottomline_read = FreshRSS_Context::$user_conf->bottomline_read; $bottomline_favorite = FreshRSS_Context::$user_conf->bottomline_favorite; - $bottomline_sharing = FreshRSS_Context::$user_conf->bottomline_sharing && (count($sharing) > 0); + $bottomline_sharing = FreshRSS_Context::$user_conf->bottomline_sharing && (count(FreshRSS_Context::$user_conf->sharing) > 0); $bottomline_labels = true; //TODO $bottomline_tags = FreshRSS_Context::$user_conf->bottomline_tags; $bottomline_date = FreshRSS_Context::$user_conf->bottomline_date; |
