diff options
author | Andrew Dolgov <[email protected]> | 2013-03-29 14:25:36 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-29 14:25:36 +0400 |
commit | 05e1e0ff20fb2115afa593251e9c5642e3b0f31d (patch) | |
tree | 782dbd81662edf8e5ef6c38e68763d03f91b875b /plugins/googlereaderimport/init.php | |
parent | 90f5a9d28bace914b3a688aff5c08b8fe71085ec (diff) |
googlereaderimport: limit guid length
Diffstat (limited to 'plugins/googlereaderimport/init.php')
-rw-r--r-- | plugins/googlereaderimport/init.php | 2 |
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 = ''; |