dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a4abfc
)
php's on crack.
author
Brion Vibber
<brion@users.mediawiki.org>
Mon, 25 Apr 2005 09:32:06 +0000
(09:32 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Mon, 25 Apr 2005 09:32:06 +0000
(09:32 +0000)
includes/SpecialMovepage.php
patch
|
blob
|
history
diff --git
a/includes/SpecialMovepage.php
b/includes/SpecialMovepage.php
index
68b8a11
..
7a86dbe
100644
(file)
--- a/
includes/SpecialMovepage.php
+++ b/
includes/SpecialMovepage.php
@@
-82,7
+82,10
@@
class MovePageForm {
# If a title was supplied, probably from the move log revert
# link, check for validity. We can then show some diagnostic
# information and save a click.
- $err = $ot->isValidMoveOperation( $nt );
+ $newerr = $ot->isValidMoveOperation( $nt );
+ if( is_string( $newerr ) ) {
+ $err = $newerr;
+ }
}
}
$encNewTitle = htmlspecialchars( $this->newTitle );