From: Brion Vibber Date: Sat, 31 May 2003 20:22:44 +0000 (+0000) Subject: Fix bug that rejected renames to one-character titles X-Git-Tag: 1.1.0~503 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=7ac5e9e132f833d3dbe610f88bfdbf51c476c61d;p=lhc%2Fweb%2Fwiklou.git Fix bug that rejected renames to one-character titles --- diff --git a/includes/SpecialMovepage.php b/includes/SpecialMovepage.php index 2a67b95991..8d3d79d038 100644 --- a/includes/SpecialMovepage.php +++ b/includes/SpecialMovepage.php @@ -117,7 +117,7 @@ class MovePageForm { $this->oldid = $this->ot->getArticleID(); $this->newid = $this->nt->getArticleID(); - if ( strlen( trim( $this->ndt ) ) < 2 ) { + if ( strlen( trim( $this->ndt ) ) < 1 ) { $this->showForm( wfMsg( "articleexists" ) ); return; }