Index: trunk/phase3/includes/FileDeleteForm.php |
— | — | @@ -110,9 +110,10 @@ |
111 | 111 | // Need to do a log item |
112 | 112 | $log = new LogPage( 'delete' ); |
113 | 113 | $logComment = wfMsgForContent( 'deletedrevision', $oldimage ); |
114 | | - if( trim( $reason ) != '' ) |
| 114 | + if( trim( $reason ) != '' ) { |
115 | 115 | $logComment .= wfMsgForContent( 'colon-separator' ) . $reason; |
116 | | - $log->addEntry( 'delete', $title, $logComment ); |
| 116 | + } |
| 117 | + $log->addEntry( 'delete', $title, $logComment ); |
117 | 118 | } |
118 | 119 | } else { |
119 | 120 | $id = $title->getArticleID( GAID_FOR_UPDATE ); |