summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/gallery_block.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-10-13 14:42:45 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-10-13 14:42:45 -0700
commit468b715a4dba01a93dbff637f6500d7d31638e64 (patch)
tree7a4233ec6a33827fe05b2fe9100303b4dd6fdc41 /modules/gallery/helpers/gallery_block.php
parent10720b3891e7f7a45616a50f866f507115915d7e (diff)
reference to user::cookie_locale changed to locales::cookie_locale
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 a4f4dae0..6c08d39a 100644
--- a/modules/gallery/helpers/gallery_block.php
+++ b/modules/gallery/helpers/gallery_block.php
@@ -103,7 +103,7 @@ class gallery_block_Core {
$block->content = new View("user_languages_block.html");
$block->content->installed_locales =
array_merge(array("" => t("« none »")), $locales);
- $block->content->selected = (string) user::cookie_locale();
+ $block->content->selected = (string) locales::cookie_locale();
} else {
$block = "";
}