From: Sam Reed Date: Fri, 23 Sep 2011 18:01:40 +0000 (+0000) Subject: God. Damn. You. Php. X-Git-Tag: 1.31.0-rc.0~27459 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=fed886d84f49a4b7bc69bcd1002167464c4bc30d;p=lhc%2Fweb%2Fwiklou.git God. Damn. You. Php. Followup r97919 --- 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 );