summaryrefslogtreecommitdiff
path: root/app/Models
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-02-18 11:05:51 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-02-18 11:05:51 +0100
commit8ab812175788222e488a9e151bdb00bba296cf59 (patch)
tree93b647e6300a0f8d670e7e1169e0d430e3117071 /app/Models
parentedc6816aecdb3b128dd40503dd7c1c4e541b2cbb (diff)
parent58bf976f6923b5ad9c6e8e57a0daa06ec05462f4 (diff)
Merge pull request #793 from aledeg/modify-share
Harmonize share configuration view.
Diffstat (limited to 'app/Models')
-rw-r--r--app/Models/Share.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Share.php b/app/Models/Share.php
index db6feda19..2a05f2ee9 100644
--- a/app/Models/Share.php
+++ b/app/Models/Share.php
@@ -152,7 +152,7 @@ class FreshRSS_Share {
* Return the current name of the share option.
*/
public function name($real = false) {
- if ($real || is_null($this->custom_name)) {
+ if ($real || is_null($this->custom_name) || empty($this->custom_name)) {
return $this->name;
} else {
return $this->custom_name;