]> git.mxchange.org Git - mailer.git/blobdiff - inc/filter/theme_filter.php
www is out-dated
[mailer.git] / inc / filter / theme_filter.php
index 4c8de5c3085530221994d2ba62b44b0bb5f49c62..f531016da15cc0ca309596a88ccaa497778e6718 100644 (file)
@@ -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 *
@@ -44,9 +44,9 @@ if (!defined('__SECURITY')) {
 function FILTER_HANDLE_THEME_CHANGE ($filterData) {
        // Check if new theme is selcted
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
-       if ((isPostRequestParameterSet('new_theme')) && (postRequestParameter('new_theme') != getCurrentTheme())) {
+       if ((isPostRequestElementSet('new_theme')) && (postRequestElement('new_theme') != getCurrentTheme())) {
                // Set new theme for guests
-               $newTheme = postRequestParameter('new_theme');
+               $newTheme = postRequestElement('new_theme');
 
                // Change to new theme
                setTheme($newTheme);