Merge "Add PreferencesFormPreSave hook"
[lhc/web/wiklou.git] / includes / specials / SpecialWantedcategories.php
index c8ba4ac..51d9af3 100644 (file)
@@ -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