X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fpool-update.php;h=3c6015d66cb524dff7927666fc7c5836b1d13a12;hb=e29553ed2308e373d899cc18c0a89a34d2a1c754;hp=509e04b75461a3cbf8ac9de61426bbc8cf865d36;hpb=254afbdb1fa4699a98667bad4e792ad803a0d535;p=mailer.git diff --git a/inc/pool-update.php b/inc/pool-update.php index 509e04b754..3c6015d66c 100644 --- a/inc/pool-update.php +++ b/inc/pool-update.php @@ -117,7 +117,7 @@ if (SQL_NUMROWS($result_main) > 0) if (SQL_NUMROWS($result_stats) == 0) { // No entry was found, so we add him! - $result_stats = SQL_QUERY_ESC("INSERT INTO "._MYSQL_PREFIX."_user_stats (pool_id , userid, cat_id, payment_id, subject, url , max_rec , timestamp_ordered, timestamp_sstart) VALUES ('%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s' , UNIX_TIMESTAMP())", + $result_stats = SQL_QUERY_ESC("INSERT INTO "._MYSQL_PREFIX."_user_stats (pool_id , userid, cat_id, payment_id, subject, url , max_rec , timestamp_ordered, timestamp_sstart) VALUES ('%s','%s','%s','%s','%s','%s','%s','%s' , UNIX_TIMESTAMP())", array(bigintval($DATA[0]), bigintval($DATA[1]), bigintval($DATA[9]), bigintval($DATA[5]), $DATA[2], $DATA[7], $DATA[8], bigintval($DATA[6])), __FILE__, __LINE__); // Receive it's ID for the links table