diff options
author | Andrew Dolgov <[email protected]> | 2013-04-05 19:05:22 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-05 19:05:22 +0400 |
commit | b87bd8ed5655cdaa5962b9fa9fd31818e1cb2fc2 (patch) | |
tree | 66bfcd1f5899d135fa7fee7e273aba4652f13a0d | |
parent | a26f0c1759427ff23d26dc2b693b73562f9e72cd (diff) |
googlereaderimport: support summary element
-rw-r--r-- | plugins/googlereaderimport/init.php | 5 |
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); |