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:
9a8a671
)
Fix erroneous check in refreshLinks.php
author
Alexandre Emsenhuber
<ialex.wiki@gmail.com>
Sun, 13 Jan 2013 21:13:55 +0000
(22:13 +0100)
committer
Alexandre Emsenhuber
<ialex.wiki@gmail.com>
Sun, 13 Jan 2013 21:13:55 +0000
(22:13 +0100)
Obviously null === false will never return true,
and what we actually want here is to check whether
we have a content or not.
Change-Id: Id78897e80ba2553c925e10d67c0fce2186aa11fd
maintenance/refreshLinks.php
patch
|
blob
|
history
diff --git
a/maintenance/refreshLinks.php
b/maintenance/refreshLinks.php
index
7a551d6
..
fe03f51
100644
(file)
--- a/
maintenance/refreshLinks.php
+++ b/
maintenance/refreshLinks.php
@@
-215,7
+215,7
@@
class RefreshLinks extends Maintenance {
}
$content = $page->getContent( Revision::RAW );
- if (
null === false
) {
+ if (
$content === null
) {
return;
}