From: Tobias Hößl Date: Sun, 26 Feb 2012 20:43:35 +0000 (+0000) Subject: Bugfix X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ac86407fdf34b0bb872da017231a8c23a84f277b;p=friendica.git Bugfix --- diff --git a/include/text.php b/include/text.php index 0f7d2f731c..1f5d4a3e12 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 .= ''; } }