summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/gallery_block.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-02-28 15:38:39 -0800
committerTim Almdal <tnalmdal@shaw.ca>2010-02-28 15:38:39 -0800
commite3e72ca4da0375d88b86ba69b6596b10be164e23 (patch)
treef32855f9416252b474ab8d598a345fdcf1455b7d /modules/gallery/helpers/gallery_block.php
parentf28b80fcf43e02ca65f419eb6774321dc30a2a37 (diff)
parentfd94f4bec21a7deaa86d468da704a048d2be751e (diff)
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules/gallery/helpers/gallery_block.php')
-rw-r--r--modules/gallery/helpers/gallery_block.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/gallery_block.php b/modules/gallery/helpers/gallery_block.php
index 46742743..eabdcebc 100644
--- a/modules/gallery/helpers/gallery_block.php
+++ b/modules/gallery/helpers/gallery_block.php
@@ -93,7 +93,7 @@ class gallery_block_Core {
case "language":
$locales = locales::installed();
- if (count($locales)) {
+ if (count($locales) > 1) {
foreach ($locales as $locale => $display_name) {
$locales[$locale] = SafeString::of_safe_html($display_name);
}