Index: trunk/extensions/Contest/specials/SpecialEditContest.php |
— | — | @@ -174,7 +174,7 @@ |
175 | 175 | $fields['status'] = array ( |
176 | 176 | 'type' => 'radio', |
177 | 177 | 'label-message' => 'contest-edit-status', |
178 | | - 'options' => Contest::getStatusMessages( $onlySettable = true ) |
| 178 | + 'options' => Contest::getStatusMessages( true ) |
179 | 179 | ); |
180 | 180 | |
181 | 181 | $fields['intro'] = array ( |
Index: trunk/extensions/Contest/includes/Contest.class.php |
— | — | @@ -189,7 +189,11 @@ |
190 | 190 | wfMsg( 'contest-status-finished' ) => self::STATUS_FINISHED, |
191 | 191 | ); |
192 | 192 | } |
193 | | - if (!$onlySettable) $map[wfMsg( 'contest-status-expired')] = self::STATUS_EXPIRED; |
| 193 | + |
| 194 | + if ( !$onlySettable ) { |
| 195 | + $map[wfMsg( 'contest-status-expired')] = self::STATUS_EXPIRED; |
| 196 | + } |
| 197 | + |
194 | 198 | return $map; |
195 | 199 | } |
196 | 200 | |