aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Hößl <tobias@hoessl.eu>2012-02-26 20:43:35 +0000
committerTobias Hößl <tobias@hoessl.eu>2012-02-26 20:43:35 +0000
commitac86407fdf34b0bb872da017231a8c23a84f277b (patch)
treef8a5619cd412a78bd128192847412bff801b4d32
parentb102a1d5ecda36a9a48a841f06df9ef5d33fa46a (diff)
downloadvolse-hubzilla-ac86407fdf34b0bb872da017231a8c23a84f277b.tar.gz
volse-hubzilla-ac86407fdf34b0bb872da017231a8c23a84f277b.tar.bz2
volse-hubzilla-ac86407fdf34b0bb872da017231a8c23a84f277b.zip
Bugfix
-rwxr-xr-xinclude/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index 0f7d2f731..1f5d4a3e1 100755
--- a/include/text.php
+++ b/include/text.php
@@ -996,7 +996,7 @@ function lang_selector() {
}
$ll = substr($l,5);
$ll = substr($ll,0,strrpos($ll,'/'));
- $selected = (($ll === $lang && (x($_SESSION['language']))) ? ' selected="selected" ' : '');
+ $selected = (($ll === $lang && (x($_SESSION, 'language'))) ? ' selected="selected" ' : '');
$o .= '<option value="' . $ll . '"' . $selected . '>' . $ll . '</option>';
}
}