]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_primera.php
Removed comment introduced by Profi-Concept, this comment should fine (in a much...
[mailer.git] / inc / modules / admin / what-config_primera.php
index 72585cc0739922bae81bc5ea2860768d715abf55..f29f21bd277d5c49abb5d5dfc0eb4698720a4738 100644 (file)
@@ -14,8 +14,6 @@
  * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
  * $Author::                                                          $ *
- * Needs to be in all Files and every File needs "svn propset           *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
@@ -40,7 +38,7 @@
 // Some security stuff...
 if ((!defined('__SECURITY')) || (!isAdmin())) {
        die();
-}
+} // END - if
 
 // Add description as navigation point
 addMenuDescription('admin', __FILE__);
@@ -50,10 +48,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. :) )