]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-themes.php
Updated copyright year.
[mailer.git] / inc / modules / member / what-themes.php
index 72d8ed59114d7bc7e33d6cd1f9ca152ae2608997..762b64dc6f85956ee23775aee58113aba5c6fc20 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2016 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -52,14 +52,14 @@ if ((!isExtensionActive('theme')) && (!isAdmin())) {
 
 if (isPostRequestElementSet('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",
+       sqlQueryEscaped("UPDATE `{?_MYSQL_PREFIX?}_user_data` SET `curr_theme`='%s' WHERE `userid`=%s LIMIT 1",
                array(
                        postRequestElement('member_theme'),
                        getMemberId()
                ), __FILE__, __LINE__);
 
        // Set new theme for guests
-       $newTheme = SQL_ESCAPE(postRequestElement('member_theme'));
+       $newTheme = sqlEscapeString(postRequestElement('member_theme'));
 
        // Change to new theme
        setMailerTheme($newTheme);