Index: trunk/extensions/Translate/specials/SpecialTranslate.php |
— | — | @@ -142,7 +142,7 @@ |
143 | 143 | } |
144 | 144 | $priorityLangs = array_flip( explode( ',', TranslateMetadata::get( $this->group->getId(), 'prioritylangs' ) ) ); |
145 | 145 | $priorityForce = TranslateMetadata::get( $this->group->getId(), 'priorityforce' ); |
146 | | - if ( !isset( $priorityLangs[$this->options['language']] ) ) { |
| 146 | + if ( count( $priorityLangs ) && !isset( $priorityLangs[$this->options['language']] ) ) { |
147 | 147 | $priorityReason = TranslateMetadata::get( $this->group->getId(), 'priorityreason' ); |
148 | 148 | if ( $priorityForce === 'on' ) { |
149 | 149 | // Hide table |