From 49cc0661ad346d15f5185396ad7d3cb9b616549a Mon Sep 17 00:00:00 2001 From: Pellaeon Lin Date: Fri, 3 Feb 2017 00:17:18 +0800 Subject: [PATCH] Fix FacebookBridge feed name empty when data loaded from cache (#456) --- bridges/FacebookBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/FacebookBridge.php b/bridges/FacebookBridge.php index 146c123..7c9ad29 100644 --- a/bridges/FacebookBridge.php +++ b/bridges/FacebookBridge.php @@ -207,6 +207,6 @@ class FacebookBridge extends BridgeAbstract{ } public function getName() { - return (isset($this->authorName) ? $this->authorName.' - ' : '').'Facebook Bridge'; + return isset($this->extraInfos['name']) ? $this->extraInfos['name'] : $this->authorName.' - Facebook Bridge'; } }