From: Michael Gapczynski Date: Wed, 11 Jul 2012 19:41:59 +0000 (-0400) Subject: Fix log write() parameters in wrong order X-Git-Tag: v4.5.0beta1~74^2~371^2~24 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=281bf62af93e373d761b767af6cc316e4681d66a;p=nextcloud-server.git Fix log write() parameters in wrong order --- diff --git a/lib/mail.php b/lib/mail.php index 545b95da87d..7eb2c4770c5 100644 --- a/lib/mail.php +++ b/lib/mail.php @@ -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); }