1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 01:15:56 +00:00

googlereaderimport: limit guid length

This commit is contained in:
Andrew Dolgov
2013-03-29 14:25:36 +04:00
parent 90f5a9d28b
commit 05e1e0ff20

View File

@@ -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 = '';