X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_newsletter.php;h=db649c3b1867dc9922634652e9a67a1a69bb87db;hp=1e7943f7429995b10b35f9d3fcd5451f0ddef9b2;hb=89c00e43d2ce1dd1afe11c2c8485307342805f97;hpb=ac7d2d47b80e7e63a6f0fac9f2e62de31eb5e2da diff --git a/inc/modules/admin/what-list_newsletter.php b/inc/modules/admin/what-list_newsletter.php index 1e7943f742..db649c3b18 100644 --- a/inc/modules/admin/what-list_newsletter.php +++ b/inc/modules/admin/what-list_newsletter.php @@ -44,8 +44,8 @@ if ((!empty($_POST['uid'])) && (!empty($_POST['id']))) { // Update database... // First user's account - $result = SQL_QUERY_ESC("UPDATE `"._MYSQL_PREFIX."_user_data` SET nl_until='".time()."+nl_timespan', nl_receive='N', nl_timespan='0' WHERE userid=%s LIMIT 1", - array(bigintval($_POST['uid'])), __FILE__, __LINE__); + SQL_QUERY_ESC("UPDATE `"._MYSQL_PREFIX."_user_data` SET nl_until='".time()."+nl_timespan', nl_receive='N', nl_timespan='0' WHERE userid=%s LIMIT 1", + array(bigintval($_POST['uid'])), __FILE__, __LINE__); // Next the task system... RUN_FILTER('solve_task', bigintval($_POST['id']));