X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flanguage-functions.php;h=2f3486d033ebcfdae41da4d92aa964eb46cbb4cb;hb=93ccd79d1a3fcb1ee5a101cb6bb670901f154555;hp=b9b0d82f98e7be7a89bceebb5aac2b28523da144;hpb=8e1fd7e3be3811cb108a074bece2eecd5bcced8f;p=mailer.git diff --git a/inc/language-functions.php b/inc/language-functions.php index b9b0d82f98..2f3486d033 100644 --- a/inc/language-functions.php +++ b/inc/language-functions.php @@ -17,7 +17,7 @@ * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -129,9 +129,9 @@ function getLanguage () { } // END - if // Is the variable set - if (isGetRequestParameterSet('mailer_lang')) { + if (isGetRequestElementSet('mailer_lang')) { // Accept only first 2 chars - $ret = substr(getRequestParameter('mailer_lang'), 0, 2); + $ret = substr(getRequestElement('mailer_lang'), 0, 2); } elseif (isCurrentLanguageSet()) { // Use cached $ret = getCurrentLanguage();