Index: trunk/phase3/includes/User.php |
— | — | @@ -2020,7 +2020,7 @@ |
2021 | 2021 | * @return \int User'e edit count |
2022 | 2022 | */ |
2023 | 2023 | function getEditCount() { |
2024 | | - if ($this->mId) { |
| 2024 | + if ($this->getId()) { |
2025 | 2025 | if ( !isset( $this->mEditCount ) ) { |
2026 | 2026 | /* Populate the count, if it has not been populated yet */ |
2027 | 2027 | $this->mEditCount = User::edits($this->mId); |