aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Share.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2015-05-30 20:46:41 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2015-05-30 20:46:41 +0200
commit185dba88c1da23f3fa4e787635e42fd81002b2cc (patch)
tree8122644648450a7722b617a0d106bca4d1106d95 /app/Models/Share.php
parentca58a265e6a702e42e25f5bf2393896b5517b0be (diff)
parent00e00849815f35ab3e3a1da2cbfa515f4bace392 (diff)
Merge 1.1.1-dev into /beta
https://github.com/FreshRSS/FreshRSS/issues/845
Diffstat (limited to 'app/Models/Share.php')
-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;