summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/l10n_client.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/helpers/l10n_client.php')
-rw-r--r--modules/gallery/helpers/l10n_client.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/helpers/l10n_client.php b/modules/gallery/helpers/l10n_client.php
index ec4c5429..d26739f5 100644
--- a/modules/gallery/helpers/l10n_client.php
+++ b/modules/gallery/helpers/l10n_client.php
@@ -35,9 +35,9 @@ class l10n_client_Core {
static function api_key($api_key=null) {
if ($api_key !== null) {
- module::set_var("core", "l10n_client_key", $api_key);
+ module::set_var("gallery", "l10n_client_key", $api_key);
}
- return module::get_var("core", "l10n_client_key", "");
+ return module::get_var("gallery", "l10n_client_key", "");
}
static function server_uid($api_key=null) {