From c2e953cf760e4a92e48044583f9be2d2d92e5ca1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Sat, 18 Jan 2014 12:23:18 +0100 Subject: [PATCH] SpecialWantedcategories: Actually strike the category if it was emptied Followup to a237f778. Change-Id: I73d8b609da1ddad846c2dbd17cd6e4c74b1e3314 --- includes/specials/SpecialWantedcategories.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialWantedcategories.php b/includes/specials/SpecialWantedcategories.php index c8ba4acb07..51d9af3fa1 100644 --- a/includes/specials/SpecialWantedcategories.php +++ b/includes/specials/SpecialWantedcategories.php @@ -73,7 +73,7 @@ class WantedCategoriesPage extends WantedQueryPage { __METHOD__ ); foreach ( $categoryRes as $row ) { - $this->currentCategoryCounts[ $row->cat_title ] = $row->cat_pages; + $this->currentCategoryCounts[ $row->cat_title ] = intval( $row->cat_pages ); } // Back to start for display -- 2.20.1