define('SERVER_URL', "http://www.mxchange.org");
// This current patch level
-define('CURR_SVN_REVISION', "525");
+define('CURR_SVN_REVISION', "526");
// Take a prime number which is long (if you know a longer one please try it out!)
define('_PRIME', 591623);
if (SQL_NUMROWS($result) == 1) {
// Use that userid as new referal id
list($refid) = SQL_FETCHROW($result);
+
+ // Reset this user's counter
+ SQL_QUERY_ESC("UPDATE `"._MYSQL_PREFIX."_iser_data` SET `rand_confirmed`=0 WHERE userid=%s LIMIT 1",
+ array($refid), __FILE__, __LINE__);
} // END - if
// Free result