dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Log warning and show error on empty username"
[lhc/web/wiklou.git]
/
maintenance
/
protect.php
diff --git
a/maintenance/protect.php
b/maintenance/protect.php
index
e2c1a8b
..
1603ab0
100644
(file)
--- a/
maintenance/protect.php
+++ b/
maintenance/protect.php
@@
-62,7
+62,7
@@
class Protect extends Maintenance {
$this->fatalError( "Invalid username" );
}
- $t = Title::newFromText( $this->getArg() );
+ $t = Title::newFromText( $this->getArg(
0
) );
if ( !$t ) {
$this->fatalError( "Invalid title" );
}