From 632fc6ec619f2bb2c17f85f7bf53db8ba2a91d36 Mon Sep 17 00:00:00 2001 From: Michael Gapczynski Date: Wed, 11 Jul 2012 15:41:59 -0400 Subject: [PATCH] Fix log write() parameters in wrong order --- lib/mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mail.php b/lib/mail.php index 0becb182b2..a4e3a39fee 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); }