Fix for missing variable, thanks to wernisman
authorRoland Häder <roland@mxchange.org>
Wed, 25 Nov 2009 18:33:41 +0000 (18:33 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 25 Nov 2009 18:33:41 +0000 (18:33 +0000)
inc/modules/admin/what-del_email.php

index cc6a5e6..b02f602 100644 (file)
@@ -176,7 +176,7 @@ LIMIT 1",
                $content = SQL_FETCHARRAY($result);
 
                // Reset sent mails for recipient(s)
-               reduceRecipientReceivedMails('bonus_id', getRequestElement('bid'), $sent);
+               reduceRecipientReceivedMails('bonus_id', getRequestElement('bid'), $content['mails_sent']);
 
                // Init counter for deleted mails
                $cnt = '0';