From b87bd8ed5655cdaa5962b9fa9fd31818e1cb2fc2 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 5 Apr 2013 19:05:22 +0400 Subject: [PATCH] googlereaderimport: support summary element --- plugins/googlereaderimport/init.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/googlereaderimport/init.php b/plugins/googlereaderimport/init.php index 8f14bdaa..ac7a872f 100644 --- a/plugins/googlereaderimport/init.php +++ b/plugins/googlereaderimport/init.php @@ -108,6 +108,11 @@ class GoogleReaderImport extends Plugin { } } + if (is_array($item['summary'])) { + $content = db_escape_string($this->link, + $item['summary']['content'], false); + } + if (is_array($item['content'])) { $content = db_escape_string($this->link, $item['content']['content'], false); -- 2.39.5