]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-themes.php
Further rewrites due to deprecated functions in 5.3.1
[mailer.git] / inc / modules / member / what-themes.php
index 5a7b2343cf9d48922a5d28f659df50d181b762d8..b05034d6c0a72f9085afd79155fdcdcea5aaa1cd 100644 (file)
@@ -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);