From 86cd86fc513aa79eafdf9910b60976ac5750d4eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 30 Mar 2010 13:48:49 +0200 Subject: [PATCH] Avoid passing by reference, it causes problems on getenv results. --- libraries/select_lang.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/select_lang.lib.php b/libraries/select_lang.lib.php index 6ee5becb0..c1589c4ec 100644 --- a/libraries/select_lang.lib.php +++ b/libraries/select_lang.lib.php @@ -129,7 +129,7 @@ function PMA_langSet(&$lang) * * @access private */ -function PMA_langDetect(&$str, $envType) +function PMA_langDetect($str, $envType) { if (empty($str)) { return false;