Skip to content
Snippets Groups Projects
Commit 632fc6ec authored by Michael Gapczynski's avatar Michael Gapczynski
Browse files

Fix log write() parameters in wrong order

parent ac5abc56
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment