Skip to content

Commit 9a804e8

Browse files
committed
Rename a variable for the Convention.
1 parent e582cd5 commit 9a804e8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

inc/scripts/fns.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
* @return string The first two lowercase letter of the browser language.
1515
*/
1616
function get_browser_lang() {
17-
$lang = explode(',' ,@$_SERVER['HTTP_ACCEPT_LANGUAGE']);
18-
return htmlspecialchars(strtolower(substr(chop($lang[0]), 0, 2)));
17+
$aLang = explode(',' ,@$_SERVER['HTTP_ACCEPT_LANGUAGE']);
18+
return htmlspecialchars(strtolower(substr(chop($aLang[0]), 0, 2)));
1919
}
2020

2121
/**

0 commit comments

Comments
 (0)