summaryrefslogtreecommitdiff
path: root/switch_lang.php
diff options
context:
space:
mode:
Diffstat (limited to 'switch_lang.php')
-rw-r--r--switch_lang.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/switch_lang.php b/switch_lang.php
index 715d64d..58947b1 100644
--- a/switch_lang.php
+++ b/switch_lang.php
@@ -2,7 +2,7 @@
/**
* @package languages
* @subpackage functions
- * @version $Header: /cvsroot/bitweaver/_bit_languages/switch_lang.php,v 1.7 2006/02/08 21:59:06 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_languages/switch_lang.php,v 1.8 2006/02/13 10:06:16 squareing Exp $
*/
/**
@@ -18,7 +18,7 @@ if (isset($_SERVER['HTTP_REFERER'])) {
}
if( !empty( $_GET['language'] ) ) {
- if($gBitSystem->isFeatureActive( 'feature_user_preferences' ) && $gBitUser->isRegistered() && $gBitSystem->isFeatureActive( 'change_language' ) ) {
+ if($gBitSystem->isFeatureActive( 'users_preferences' ) && $gBitUser->isRegistered() && $gBitSystem->isFeatureActive( 'change_language' ) ) {
$gBitUser->storePreference( 'bitlanguage', $_GET['language'] );
} else {
$_SESSION["bitlanguage"] = $_GET['language'];