diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2010-03-28 21:04:44 -0700 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2010-03-28 21:04:44 -0700 |
| commit | ea43c5f06f5c7242f1d5811fe427e55c87497ecc (patch) | |
| tree | 7ee253a40c57c8ea8066305e36b633fa2d7500e4 /modules/gallery/helpers/gallery_block.php | |
| parent | 2eea7b874aa06f08ed58a85197473233b54693aa (diff) | |
| parent | e8eb23db42bb929548af358452f1b65e16b61913 (diff) | |
Merge branch 'master' of github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/helpers/gallery_block.php')
| -rw-r--r-- | modules/gallery/helpers/gallery_block.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/helpers/gallery_block.php b/modules/gallery/helpers/gallery_block.php index 46742743..08ce21b7 100644 --- a/modules/gallery/helpers/gallery_block.php +++ b/modules/gallery/helpers/gallery_block.php @@ -1,7 +1,7 @@ <?php defined("SYSPATH") or die("No direct script access."); /** * Gallery - a web based photo album viewer and editor - * Copyright (C) 2000-2009 Bharat Mediratta + * Copyright (C) 2000-2010 Bharat Mediratta * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -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); } |
