From fed886d84f49a4b7bc69bcd1002167464c4bc30d Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Fri, 23 Sep 2011 18:01:40 +0000 Subject: [PATCH] God. Damn. You. Php. Followup r97919 --- includes/GlobalFunctions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index eb6172059f..632d1b030b 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -853,14 +853,14 @@ function wfErrorLog( $text, $file ) { // Limit to 64KB if ( strlen( $text ) > 65506 ) { - $text = substr( $text, 0, 65505 ); + $text = substr( $text, 0, 65506 ); } if ( substr( $text, -1 ) != "\n" ) { $text .= "\n"; } } elseif ( strlen( $text ) > 65507 ) { - $text = substr( $text, 0, 65506 ); + $text = substr( $text, 0, 65507 ); } $sock = socket_create( $domain, SOCK_DGRAM, SOL_UDP ); -- 2.20.1