X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flanguage-functions.php;h=f8e9d6162288b29089a2ba92f94bc9da481dc2ad;hp=21dc3ed7cbe9a1c2ff2c758d3fc62f19dd5566de;hb=25b4a580b4c7e0d429eb8e436785d3c2ef304f8e;hpb=039203d5428c9c6a3bed61fb3a9a16958c6fd44c diff --git a/inc/language-functions.php b/inc/language-functions.php index 21dc3ed7cb..f8e9d61622 100644 --- a/inc/language-functions.php +++ b/inc/language-functions.php @@ -18,6 +18,7 @@ * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * + * Copyright (c) 2009, 2010 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -110,9 +111,9 @@ function getLanguage () { if (isConfigEntrySet('DEFAULT_LANG')) $ret = getConfig('DEFAULT_LANG'); // Is the variable set - if (isGetRequestElementSet('mx_lang')) { + if (isGetRequestParameterSet('mx_lang')) { // Accept only first 2 chars - $ret = substr(getRequestElement('mx_lang'), 0, 2); + $ret = substr(getRequestParameter('mx_lang'), 0, 2); } elseif (isset($GLOBALS['language'])) { // Use cached $ret = getCurrentLanguage();