From 97a739866ecef5dbd238e3096632f7a73cfef2ae Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Sun, 20 Jan 2008 14:16:06 +0000 Subject: [PATCH] Fix spelling :) --- include/functions_trackbacks.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/functions_trackbacks.inc.php b/include/functions_trackbacks.inc.php index 3573fd7..265093f 100644 --- a/include/functions_trackbacks.inc.php +++ b/include/functions_trackbacks.inc.php @@ -493,9 +493,9 @@ function fetchPingbackData( &$comment) { } // Max amount of characters fetched from the page doing a pingback: - $fetchPageMaxLenght = 200; + $fetchPageMaxLength = 200; if (isset($serendipity['pingbackFetchPageMaxLength'])){ - $fetchPageMaxLenght = $serendipity['pingbackFetchPageMaxLength']; + $fetchPageMaxLength = $serendipity['pingbackFetchPageMaxLength']; } require_once S9Y_PEAR_PATH . 'HTTP/Request.php'; $url = $comment['url']; @@ -530,7 +530,7 @@ function fetchPingbackData( &$comment) { $body = trackback_body_strip($body); // truncate the text to 200 chars - $arr = str_split($body, $fetchPageMaxLenght); + $arr = str_split($body, $fetchPageMaxLength); $body = $arr[0]; $comment['comment'] = $body . '[..]'; -- 2.39.5