X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=click.php;h=b70654308718acbec6c4e54be41fdc7e27b58fc3;hp=b9d2af6a506987260557ff175dc0f9c5aa1154a6;hb=b4df691a2d9cabc94a6def5bd1ee3d4945d5efd4;hpb=ecdeb0760bcb58accacb4e9c71750f2ce60d91b8 diff --git a/click.php b/click.php index b9d2af6a50..b706543087 100644 --- a/click.php +++ b/click.php @@ -14,11 +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 * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -56,7 +54,7 @@ if ((isGetRequestParameterSet('user')) && (isGetRequestParameterSet('banner'))) SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_refbanner` SET `clicks`=`clicks`+1 WHERE `id`=%s LIMIT 1", array(bigintval(getRequestParameter('banner'))), __FILE__, __LINE__); // A line has been updated? - if ((SQL_AFFECTEDROWS() == 1) && (isGetRequestParameterSet('user'))) { + if ((!SQL_HASZEROAFFECTED()) && (isGetRequestParameterSet('user'))) { // Redirect to the user's referal link redirectToUrl('ref.php?refid=' . bigintval(getRequestParameter('user'))); } // END - if