- use correct table-field for email deletion, refs #245

This commit is contained in:
Michael Kaufmann (d00p)
2010-07-24 19:42:03 +00:00
parent fe3728d522
commit ced78ac6f7
2 changed files with 3 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ function maildirExists($result = null)
{
$loginname = getCustomerDetail($result['customerid'], 'loginname');
if($loginname !== false) {
$maildir = makeCorrectDir($settings['system']['vmail_homedir'] .'/'. $loginname .'/'. $result['email']);
$maildir = makeCorrectDir($settings['system']['vmail_homedir'] .'/'. $loginname .'/'. $result['email_full']);
if(@file_exists($maildir)) {
return true;
}