From ca824b38ceba7678384ffe05f4cd7035e9bcc4cc Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Wed, 27 Oct 2010 05:59:31 +0000 Subject: [PATCH] blogs MDL-24875 Fixed typo... whoops --- blog/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/lib.php b/blog/lib.php index a3cf1a05fc6..614fbe6c6be 100755 --- a/blog/lib.php +++ b/blog/lib.php @@ -200,7 +200,7 @@ function blog_sync_external_entries($externalblog) { $newentry->lastmodified = $entry->get_date('U'); $textlib = textlib_get_instance(); - if ($textlib->strlen($text) > 255) { + if ($textlib->strlen($newentry->uniquehash) > 255) { // The URL for this item is too long for the field. Rather than add // the entry without the link we will skip straight over it. // RSS spec says recommended length 500, we use 255.