]> git.mjollnir.org Git - s9y.git/commitdiff
Fix spelling :)
authorgarvinhicking <garvinhicking>
Sun, 20 Jan 2008 14:16:06 +0000 (14:16 +0000)
committergarvinhicking <garvinhicking>
Sun, 20 Jan 2008 14:16:06 +0000 (14:16 +0000)
include/functions_trackbacks.inc.php

index 3573fd7179d60d3c69db9f7e91855e21b2841f3d..265093f6a683616cb7eb23e1f68931fa4e72d9ce 100644 (file)
@@ -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 . '[..]';