summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--functions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index 2df75f10a..ac2699c95 100644
--- a/functions.php
+++ b/functions.php
@@ -830,6 +830,7 @@
if (preg_match('/^[\t\n\r ]*$/', $entry_author)) $entry_author = '';
$entry_guid = db_escape_string(strip_tags($entry_guid));
+ $entry_guid = mb_substr($entry_guid, 0, 250);
$result = db_query($link, "SELECT id FROM ttrss_entries
WHERE guid = '$entry_guid'");