summaryrefslogtreecommitdiff
path: root/plugins/googlereaderimport
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-05 19:05:22 +0400
committerAndrew Dolgov <[email protected]>2013-04-05 19:05:22 +0400
commitb87bd8ed5655cdaa5962b9fa9fd31818e1cb2fc2 (patch)
tree66bfcd1f5899d135fa7fee7e273aba4652f13a0d /plugins/googlereaderimport
parenta26f0c1759427ff23d26dc2b693b73562f9e72cd (diff)
googlereaderimport: support summary element
Diffstat (limited to 'plugins/googlereaderimport')
-rw-r--r--plugins/googlereaderimport/init.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/googlereaderimport/init.php b/plugins/googlereaderimport/init.php
index 8f14bdaa7..ac7a872f2 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);