]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_primera.php
A lot CSS classes rewritten, please update all your themes.
[mailer.git] / inc / modules / admin / what-config_primera.php
index 72ce42609f5823486748b39b66709780b707b922..816f60dfdab9a6fd6bc1dd54c697ec7ab3ae568a 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 *
@@ -49,10 +50,10 @@ if (isFormSent()) {
        mergeConfig(postRequestArray());
 
        // Is the password set?
-       if (isPostRequestParameterSet(('pass'))) {
+       if (isPostRequestParameterSet('password')) {
                // Then hash and remove it
-               setPostRequestParameter('primera_api_md5', md5(postRequestParameter('pass')));
-               unsetPostRequestParameter('pass');
+               setPostRequestParameter('primera_api_md5', md5(postRequestParameter('password')));
+               unsetPostRequestParameter('password');
        } // END - if
 
        // Let's test the API first (hold your horses here, cowboy! Thank you. :) )