[GooglePlusPostBridge] Skip posts without message
This commit is contained in:
parent
53278b2eed
commit
53bdfa3bf0
1 changed files with 5 additions and 0 deletions
|
@ -57,6 +57,11 @@ class GooglePlusPostBridge extends BridgeAbstract{
|
||||||
|
|
||||||
$message = $post->find('div[jsname=EjRJtf]', 0);
|
$message = $post->find('div[jsname=EjRJtf]', 0);
|
||||||
|
|
||||||
|
// Empty messages are not supported right now
|
||||||
|
if(!$message) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
$item['content'] = '<div style="float: left; padding: 0 10px 10px 0;"><a href="'
|
$item['content'] = '<div style="float: left; padding: 0 10px 10px 0;"><a href="'
|
||||||
. $this->url
|
. $this->url
|
||||||
. '"><img align="top" alt="'
|
. '"><img align="top" alt="'
|
||||||
|
|
Loading…
Reference in a new issue