From fe3728d5225cec30d2770caf3ad389805ed083ee Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Sat, 24 Jul 2010 18:55:48 +0000 Subject: [PATCH] - fix wrong variable in e-mail data deletion, it actually does work now :P (thx to acidfreeze), fixes #245 --- customer_email.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/customer_email.php b/customer_email.php index 723db5da..178ffd74 100644 --- a/customer_email.php +++ b/customer_email.php @@ -187,7 +187,7 @@ elseif($page == 'emails') if(isset($_POST['delete_userfiles']) && (int)$_POST['delete_userfiles'] == 1) { - inserttask('7', $result['loginname'], $result['email']); + inserttask('7', $userinfo['loginname'], $result['email']); } $db->query("DELETE FROM `" . TABLE_MAIL_VIRTUAL . "` WHERE `customerid`='" . (int)$userinfo['customerid'] . "' AND `id`='" . (int)$id . "'");