From 53bdfa3bf012694b288705c7eea7db651c975d58 Mon Sep 17 00:00:00 2001 From: logmanoriginal Date: Tue, 31 Jul 2018 19:15:09 +0200 Subject: [PATCH] [GooglePlusPostBridge] Skip posts without message --- bridges/GooglePlusPostBridge.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bridges/GooglePlusPostBridge.php b/bridges/GooglePlusPostBridge.php index 9da2b4d..713a432 100644 --- a/bridges/GooglePlusPostBridge.php +++ b/bridges/GooglePlusPostBridge.php @@ -57,6 +57,11 @@ class GooglePlusPostBridge extends BridgeAbstract{ $message = $post->find('div[jsname=EjRJtf]', 0); + // Empty messages are not supported right now + if(!$message) { + continue; + } + $item['content'] = '