fooRequestElementBar() functions renamed, adding of request parameters added:
[mailer.git] / inc / modules / admin / what-config_primera.php
index 463a4b6f39170cf57c10886bb4025f342bb2d85e..72ce42609f5823486748b39b66709780b707b922 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
  * Mailer v0.2.1-FINAL                                Start: 09/09/2008 *
- * ================                             Last change: 09/09/2008 *
+ * ===================                          Last change: 09/09/2008 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : what-config_primera.php                          *
@@ -49,10 +49,10 @@ if (isFormSent()) {
        mergeConfig(postRequestArray());
 
        // Is the password set?
-       if (isPostRequestElementSet(('pass'))) {
+       if (isPostRequestParameterSet(('pass'))) {
                // Then hash and remove it
-               setRequestPostElement('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. :) )