(bug 41793) Make contribs. link on Special:ListUsers red for users with 0 edits
[lhc/web/wiklou.git] / includes / User.php
index c0d71e4..f02cc29 100644 (file)
@@ -2469,7 +2469,7 @@ class User {
                                        $count = $this->initEditCount();
                                }
                                wfProfileOut( __METHOD__ );
-                               $this->mEditCount = $count;
+                               $this->mEditCount = intval( $count );
                        }
                        return $this->mEditCount;
                } else {