Index: trunk/phase3/includes/LogEventsList.php |
— | — | @@ -431,7 +431,6 @@ |
432 | 432 | if( is_null($usertitle) ) { |
433 | 433 | return false; |
434 | 434 | } |
435 | | - $this->user = $usertitle->getText(); |
436 | 435 | /* Fetch userid at first, if known, provides awesome query plan afterwards */ |
437 | 436 | $userid = User::idFromName( $this->user ); |
438 | 437 | if( !$userid ) { |
— | — | @@ -440,6 +439,7 @@ |
441 | 440 | $this->mConds[] = "NULL"; |
442 | 441 | } else { |
443 | 442 | $this->mConds['log_user'] = $userid; |
| 443 | + $this->user = $usertitle->getText(); |
444 | 444 | } |
445 | 445 | } |
446 | 446 | |