From 7ac5e9e132f833d3dbe610f88bfdbf51c476c61d Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sat, 31 May 2003 20:22:44 +0000 Subject: [PATCH] Fix bug that rejected renames to one-character titles --- includes/SpecialMovepage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.20.1