]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_primera.php
A lot naming conventions applied, TODOs.txt updated
[mailer.git] / inc / modules / admin / what-config_primera.php
index 7517618d2396e0a21f0f997f89841454fd9ffa09..32ef9cf40f07b8614ab1f83865939ba01590585f 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 (isPostRequestElementSet(('pass'))) {
+       if (isPostRequestParameterSet('pass')) {
                // Then hash and remove it
-               setPostRequestElement('primera_api_md5', md5(postRequestElement('pass')));
-               unsetPostRequestElement('pass');
+               setPostRequestParameter('primera_api_md5', md5(postRequestParameter('pass')));
+               unsetPostRequestParameter('pass');
        } // END - if
 
        // Let's test the API first (hold your horses here, cowboy! Thank you. :) )