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:
42e4bad
)
(follow-up r86121) Use strict comparision.
author
Brian Wolff
<bawolff@users.mediawiki.org>
Fri, 15 Apr 2011 21:53:55 +0000
(21:53 +0000)
committer
Brian Wolff
<bawolff@users.mediawiki.org>
Fri, 15 Apr 2011 21:53:55 +0000
(21:53 +0000)
Third times the charm...
includes/CategoryPage.php
patch
|
blob
|
history
diff --git
a/includes/CategoryPage.php
b/includes/CategoryPage.php
index
3b4d52c
..
3568d89
100644
(file)
--- a/
includes/CategoryPage.php
+++ b/
includes/CategoryPage.php
@@
-365,10
+365,10
@@
class CategoryViewer {
$count = 0;
foreach ( $res as $row ) {
$title = Title::newFromRow( $row );
$count = 0;
foreach ( $res as $row ) {
$title = Title::newFromRow( $row );
- if (
!$row->cl_collation
) {
+ if (
$row->cl_collation === ''
) {
// Hack to make sure that while updating from 1.16 schema
// and db is inconsistent, that the sky doesn't fall.
// Hack to make sure that while updating from 1.16 schema
// and db is inconsistent, that the sky doesn't fall.
- // See r83544. Could perhaps be removed in a couple
versions (?)
+ // See r83544. Could perhaps be removed in a couple
decades...
$humanSortkey = $row->cl_sortkey;
} else {
$humanSortkey = $title->getCategorySortkey( $row->cl_sortkey_prefix );
$humanSortkey = $row->cl_sortkey;
} else {
$humanSortkey = $title->getCategorySortkey( $row->cl_sortkey_prefix );