Index: trunk/phase3/includes/CategoryPage.php |
— | — | @@ -365,10 +365,10 @@ |
366 | 366 | $count = 0; |
367 | 367 | foreach ( $res as $row ) { |
368 | 368 | $title = Title::newFromRow( $row ); |
369 | | - if ( !$row->cl_collation ) { |
| 369 | + if ( $row->cl_collation === '' ) { |
370 | 370 | // Hack to make sure that while updating from 1.16 schema |
371 | 371 | // and db is inconsistent, that the sky doesn't fall. |
372 | | - // See r83544. Could perhaps be removed in a couple versions (?) |
| 372 | + // See r83544. Could perhaps be removed in a couple decades... |
373 | 373 | $humanSortkey = $row->cl_sortkey; |
374 | 374 | } else { |
375 | 375 | $humanSortkey = $title->getCategorySortkey( $row->cl_sortkey_prefix ); |