Index: trunk/phase3/includes/LogPage.php |
— | — | @@ -77,7 +77,7 @@ |
78 | 78 | |
79 | 79 | $ok = ($dbw->affectedRows() != 0); |
80 | 80 | # And update recentchanges |
81 | | - if( $this->updateRecentChanges ) { |
| 81 | + if( $ok && $this->updateRecentChanges ) { |
82 | 82 | # Don't add private logs to RC! |
83 | 83 | if( !isset($wgLogRestrictions[$this->type]) || $wgLogRestrictions[$this->type]=='*' ) { |
84 | 84 | $titleObj = SpecialPage::getTitleFor( 'Log', $this->type ); |