Index: trunk/phase3/includes/WikiPage.php |
— | — | @@ -1526,7 +1526,7 @@ |
1527 | 1527 | |
1528 | 1528 | # Update the protection log |
1529 | 1529 | $log = new LogPage( 'protect' ); |
1530 | | - $log->addEntry( $logAction, $this->mTitle, trim( $reason ), $logParams ); |
| 1530 | + $log->addEntry( $logAction, $this->mTitle, trim( $reason ), $logParams, $user ); |
1531 | 1531 | |
1532 | 1532 | return Status::newGood(); |
1533 | 1533 | } |