Index: trunk/extensions/CodeReview/backend/CodeRevision.php |
— | — | @@ -388,7 +388,7 @@ |
389 | 389 | $committer = $commitAuthor->getName(); |
390 | 390 | $commitAuthorId = $commitAuthor->getId(); |
391 | 391 | } else { |
392 | | - $committer = htmlspecialchars( $this->mAuthor ); |
| 392 | + $committer = htmlspecialchars( $this->author ); |
393 | 393 | $commitAuthorId = 0; |
394 | 394 | } |
395 | 395 | |
— | — | @@ -428,7 +428,7 @@ |
429 | 429 | $revisionCommitSummary = $revision->getMessage(); |
430 | 430 | |
431 | 431 | //Add the followup revision author if they have not already been added as a commentor (they won't want dupe emails!) |
432 | | - if ( !array_key_exists( $revisionAuthor->getId(), $users ) ) { |
| 432 | + if ( $revisionAuthor && !array_key_exists( $revisionAuthor->getId(), $users ) ) { |
433 | 433 | $users[$revisionAuthor->getId()] = $revisionAuthor; |
434 | 434 | } |
435 | 435 | |