Index: trunk/phase3/includes/User.php |
— | — | @@ -1076,6 +1076,12 @@ |
1077 | 1077 | $all = false; |
1078 | 1078 | } |
1079 | 1079 | |
| 1080 | + if ( isset( $row->user_editcount ) ) { |
| 1081 | + $this->mEditCount = $row->user_editcount; |
| 1082 | + } else { |
| 1083 | + $all = false; |
| 1084 | + } |
| 1085 | + |
1080 | 1086 | if ( isset( $row->user_password ) ) { |
1081 | 1087 | $this->mPassword = $row->user_password; |
1082 | 1088 | $this->mNewpassword = $row->user_newpassword; |
— | — | @@ -1088,7 +1094,6 @@ |
1089 | 1095 | $this->mEmailToken = $row->user_email_token; |
1090 | 1096 | $this->mEmailTokenExpires = wfTimestampOrNull( TS_MW, $row->user_email_token_expires ); |
1091 | 1097 | $this->mRegistration = wfTimestampOrNull( TS_MW, $row->user_registration ); |
1092 | | - $this->mEditCount = $row->user_editcount; |
1093 | 1098 | } else { |
1094 | 1099 | $all = false; |
1095 | 1100 | } |