Index: trunk/extensions/CentralNotice/SpecialCentralNotice.php |
— | — | @@ -452,12 +452,11 @@ |
453 | 453 | $project_langs = array(); |
454 | 454 | $project_langs = $this->getNoticeLanguages( $row->not_name ); |
455 | 455 | $language_count = count( $project_langs ); |
| 456 | + $languageList = ''; |
456 | 457 | if ( $language_count > 3 ) { |
457 | 458 | $languageList = "multiple ($language_count)"; |
458 | 459 | } elseif ( $language_count > 0 ) { |
459 | 460 | $languageList = implode(', ',$project_langs); |
460 | | - } else { |
461 | | - $languageList = ''; |
462 | 461 | } |
463 | 462 | $fields[] = $languageList; |
464 | 463 | |