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:
a51d7f4
)
Testing whether "!$this" is true makes absolutely no sense. Either we're in an objec...
author
Aryeh Gregor
<simetrical@users.mediawiki.org>
Tue, 27 May 2008 16:23:23 +0000
(16:23 +0000)
committer
Aryeh Gregor
<simetrical@users.mediawiki.org>
Tue, 27 May 2008 16:23:23 +0000
(16:23 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
c7ea915
..
a4d7d68
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-2394,7
+2394,7
@@
class Title {
*/
public function isValidMoveOperation( &$nt, $auth = true ) {
$errors = array();
- if( !$
this or !$
nt ) {
+ if( !$nt ) {
// Normally we'd add this to $errors, but we'll get
// lots of syntax errors if $nt is not an object
return array(array('badtitletext'));