X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_primera.php;h=f29f21bd277d5c49abb5d5dfc0eb4698720a4738;hb=0ddf8f6c578aa2c1ff1db9fb8eb0b93a1e247b73;hp=7517618d2396e0a21f0f997f89841454fd9ffa09;hpb=bc72f913ef9ef26f4103d3deddb4d8be5337a1e5;p=mailer.git diff --git a/inc/modules/admin/what-config_primera.php b/inc/modules/admin/what-config_primera.php index 7517618d23..f29f21bd27 100644 --- a/inc/modules/admin/what-config_primera.php +++ b/inc/modules/admin/what-config_primera.php @@ -14,10 +14,9 @@ * $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 * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -39,7 +38,7 @@ // Some security stuff... if ((!defined('__SECURITY')) || (!isAdmin())) { die(); -} +} // END - if // Add description as navigation point addMenuDescription('admin', __FILE__); @@ -49,10 +48,10 @@ if (isFormSent()) { mergeConfig(postRequestArray()); // Is the password set? - if (isPostRequestElementSet(('pass'))) { + if (isPostRequestParameterSet('password')) { // Then hash and remove it - setPostRequestElement('primera_api_md5', md5(postRequestElement('pass'))); - unsetPostRequestElement('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. :) )