X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-themes.php;h=b05034d6c0a72f9085afd79155fdcdcea5aaa1cd;hb=4e5020660b07f30b7bf3ccc0a2ca664a19a21c0d;hp=5a7b2343cf9d48922a5d28f659df50d181b762d8;hpb=e2148142f8b1a8f40fd6e7ca32185569c5a9083e;p=mailer.git diff --git a/inc/modules/member/what-themes.php b/inc/modules/member/what-themes.php index 5a7b2343cf..b05034d6c0 100644 --- a/inc/modules/member/what-themes.php +++ b/inc/modules/member/what-themes.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 * @@ -51,13 +52,13 @@ if ((!isExtensionActive('theme')) && (!isAdmin())) { return; } // END - if -if (isPostRequestElementSet('member_theme')) { +if (isPostRequestParameterSet('member_theme')) { // Save theme to member's profile SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_user_data` SET `curr_theme`='%s' WHERE `userid`=%s LIMIT 1", - array(postRequestElement('member_theme'), getMemberId()), __FILE__, __LINE__); + array(postRequestParameter('member_theme'), getMemberId()), __FILE__, __LINE__); // Set new theme for guests - $newTheme = SQL_ESCAPE(postRequestElement('member_theme')); + $newTheme = SQL_ESCAPE(postRequestParameter('member_theme')); // Change to new theme setTheme($newTheme);