summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 629b78cb3..40b32df88 100644
--- a/functions.php
+++ b/functions.php
@@ -988,7 +988,7 @@
// db_query($link, "COMMIT");
} else {
- $error_msg = db_escape_string(magpie_error());
+ $error_msg = mb_substr(db_escape_string(magpie_error()), 0, 250);
db_query($link,
"UPDATE ttrss_feeds SET last_error = '$error_msg',
last_updated = NOW() WHERE id = '$feed'");