Fix log write() parameters in wrong order

This commit is contained in:
Michael Gapczynski 2012-07-11 15:41:59 -04:00
parent ac5abc5603
commit 632fc6ec61
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ class OC_Mail {
$mailo->Send();
unset($mailo);
OC_Log::write('Mail from '.$fromname.' ('.$fromaddress.')'.' to: '.$toname.'('.$toaddress.')'.' subject: '.$subject,'mail',OC_Log::DEBUG);
OC_Log::write('mail', 'Mail from '.$fromname.' ('.$fromaddress.')'.' to: '.$toname.'('.$toaddress.')'.' subject: '.$subject, OC_Log::DEBUG);
} catch (Exception $exception) {
OC_Log::write('mail', $exception->getMessage(), OC_Log::DEBUG);
}