From: Wil Mahan Date: Tue, 5 Oct 2004 04:22:36 +0000 (+0000) Subject: Small mistake in the title length check: I meant $r, not X-Git-Tag: 1.5.0alpha1~1652 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=6cf22f01b9095205b2cf390fede9e4eda86991d1;p=lhc%2Fweb%2Fwiklou.git Small mistake in the title length check: I meant $r, not $t (silly one-character variable names) --- diff --git a/includes/Title.php b/includes/Title.php index a34bde86b8..b1cad3c807 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1086,7 +1086,7 @@ class Title { # We shouldn't need to query the DB for the size. #$maxSize = $dbr->textFieldSize( 'cur', 'cur_title' ); - if ( strlen( $t ) > 255 ) { + if ( strlen( $r ) > 255 ) { return false; }