Index: trunk/extensions/CategoryWatch/CategoryWatch.php |
— | — | @@ -143,10 +143,10 @@ |
144 | 144 | $page = $title->getPrefixedText(); |
145 | 145 | $adminAddress = new MailAddress( $wgPasswordSender, 'WikiAdmin' ); |
146 | 146 | $editorAddress = new MailAddress( $editor ); |
147 | | - $timecorrection = $watchingUser->getOption( 'timecorrection' ); |
148 | | - $editdate = $wgLang->timeanddate( wfTimestampNow(), true, false, $timecorrection ); |
149 | 147 | foreach ( $res as $row ) { |
150 | | - $watchingUser = User::newFromId( $row->wl_user ); |
| 148 | + $watchingUser = User::newFromId( $row->wl_user ); |
| 149 | + $timecorrection = $watchingUser->getOption( 'timecorrection' ); |
| 150 | + $editdate = $wgLang->timeanddate( wfTimestampNow(), true, false, $timecorrection ); |
151 | 151 | if ( $watchingUser->getOption( 'enotifwatchlistpages' ) && $watchingUser->isEmailConfirmed() ) { |
152 | 152 | |
153 | 153 | $to = new MailAddress( $watchingUser ); |