X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=confirm.php;h=9c7db6f02a0cd8fcf7d5d6c94bf701ff2c615d0f;hb=a619bfa6f37f7309a8413a6e5886a097211b6600;hp=a7c797de4773ade6d7872506de4bf6d8ee9986db;hpb=09f5758c42a33a56bdd461c946ffe759a59c54aa;p=mailer.git diff --git a/confirm.php b/confirm.php index a7c797de47..9c7db6f02a 100644 --- a/confirm.php +++ b/confirm.php @@ -14,12 +14,10 @@ * $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 * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -50,17 +48,17 @@ require('inc/config-global.php'); // Set content type for e.g. search engines setContentType('text/html'); -// No hash provided by default -$URL = 'modules.php?module=index'; +// No hash provided then we redirect to the right page +$url = 'modules.php?module=index&what=confirm'; // Is the hash there? -if (isGetRequestParameterSet('hash')) { - // We have an refid here. So we simply add it - $URL = 'modules.php?module=index&what=confirm&hash=' . getRequestParameter('hash'); +if (isGetRequestElementSet('hash')) { + // We have a hash here. So we simply add it + $url .= '&hash=' . getRequestElement('hash'); } // END - if // Load the URL -redirectToUrl($URL); +redirectToUrl($url); // [EOF] ?>