diff options
author | Andy Staudacher <andy.st@gmail.com> | 2009-09-01 11:11:22 -0700 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2009-09-01 11:11:22 -0700 |
commit | b50d7f0d69122e15a91b9838eedeeb5c922040bb (patch) | |
tree | 3efc9cfea5ab75b73076b57be83246e150209a67 | |
parent | 295fc0c14ce938e02bf17c350a50d36b73802ad0 (diff) |
Fix bug #522 - Handle "save settings" correctly in the "share translations" form.
-rw-r--r-- | modules/gallery/controllers/admin_languages.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/controllers/admin_languages.php b/modules/gallery/controllers/admin_languages.php index 894daedb..d91e5205 100644 --- a/modules/gallery/controllers/admin_languages.php +++ b/modules/gallery/controllers/admin_languages.php @@ -61,7 +61,7 @@ class Admin_Languages_Controller extends Admin_Controller { return $this->index($form); } - if ($form->sharing->share) { + if ($this->input->post("share")) { l10n_client::submit_translations(); message::success(t("Translations submitted")); } else { |