http://www.mediawiki.org/wiki/Special:Code/MediaWiki/97941
Revision: 97941
Author: reedy
Date: 2011-09-23 18:01:40 +0000 (Fri, 23 Sep 2011)
Log Message:
-----------
God. Damn. You. Php.
Followup r97919
Modified Paths:
--------------
trunk/phase3/includes/GlobalFunctions.php
Modified: trunk/phase3/includes/GlobalFunctions.php
===================================================================
--- trunk/phase3/includes/GlobalFunctions.php 2011-09-23 17:59:57 UTC (rev
97940)
+++ trunk/phase3/includes/GlobalFunctions.php 2011-09-23 18:01:40 UTC (rev
97941)
@@ -853,14 +853,14 @@
// 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 );
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs