From 468b715a4dba01a93dbff637f6500d7d31638e64 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Tue, 13 Oct 2009 14:42:45 -0700 Subject: reference to user::cookie_locale changed to locales::cookie_locale --- modules/gallery/helpers/gallery_block.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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 = ""; } -- cgit v1.2.3