summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-29 14:25:36 +0400
committerAndrew Dolgov <[email protected]>2013-03-29 14:25:36 +0400
commit05e1e0ff20fb2115afa593251e9c5642e3b0f31d (patch)
tree782dbd81662edf8e5ef6c38e68763d03f91b875b /plugins
parent90f5a9d28bace914b3a688aff5c08b8fe71085ec (diff)
googlereaderimport: limit guid length
Diffstat (limited to 'plugins')
-rw-r--r--plugins/googlereaderimport/init.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/googlereaderimport/init.php b/plugins/googlereaderimport/init.php
index 881d9dedb..5c17acbd1 100644
--- a/plugins/googlereaderimport/init.php
+++ b/plugins/googlereaderimport/init.php
@@ -89,7 +89,7 @@ class GoogleReaderImport extends Plugin {
foreach ($doc['items'] as $item) {
// print_r($item);
- $guid = db_escape_string($this->link, $item['id']);
+ $guid = db_escape_string($this->link, mb_substr($item['id'], 0, 250));
$title = db_escape_string($this->link, $item['title']);
$updated = date('Y-m-d h:i:s', $item['updated']);
$link = '';