Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Fix issue #1326 (#1332)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimlucas authored Apr 15, 2020
1 parent 69694ed commit 097445c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion core/floaters.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,11 @@
$view->assign('id', 0);
}

$countries = Zend_Locale::getTranslationList('Territory', $kga['language'], 2);
try {
$countries = Zend_Locale::getTranslationList('Territory', $kga['language'], 2);
} catch (Exception $e) {
$countries = Zend_Locale::getTranslationList('Territory', null, 2);
}
asort($countries);

$view->assign('countries', $countries);
Expand Down

0 comments on commit 097445c

Please sign in to comment.