Fix in CREATE_EXTENSION_DEACTIVATION_TASK() and coding-style updated
[mailer.git] / inc / modules / admin / what-list_newsletter.php
index 1e7943f7429995b10b35f9d3fcd5451f0ddef9b2..db649c3b1867dc9922634652e9a67a1a69bb87db 100644 (file)
@@ -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']));