Index: trunk/extensions/SecurePoll/includes/entities/Election.php |
— | — | @@ -194,7 +194,7 @@ |
195 | 195 | $notCentrallyBlocked = $this->getProperty( 'not-centrally-blocked' ); |
196 | 196 | $centralBlockCount = isset( $props['central-block-count'] ) ? $props['central-block-count'] : 0; |
197 | 197 | $centralBlockThreshold = $this->getProperty( 'central-block-threshold', 1 ); |
198 | | - if ( $centralBlockCount >= $centralBlockThreshold ) { |
| 198 | + if ( $notCentrallyBlocked && $centralBlockCount >= $centralBlockThreshold ) { |
199 | 199 | $status->fatal( 'securepoll-blocked-centrally', $wgLang->formatNum( $centralBlockThreshold ) ); |
200 | 200 | } |
201 | 201 | |