Fix FacebookBridge feed name empty when data loaded from cache (#456)

This commit is contained in:
Pellaeon Lin 2017-02-03 00:17:18 +08:00 committed by Teromene
parent 3109694b1c
commit 49cc0661ad

View file

@ -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';
}
}