diff options
author | Christian Koch <koch.chris@gmail.com> | 2013-02-06 17:22:07 +0100 |
---|---|---|
committer | Christian Koch <koch.chris@gmail.com> | 2013-02-06 17:22:07 +0100 |
commit | a4f909cefd93928f87088b7111ed9f133786ebc3 (patch) | |
tree | 577a7701f4077988513bc67b457e69eeeedd6659 /lib | |
parent | 3879e5d9c513bf76b3bf11fc3d9e0ab9e23d784b (diff) | |
download | nextcloud-server-a4f909cefd93928f87088b7111ed9f133786ebc3.tar.gz nextcloud-server-a4f909cefd93928f87088b7111ed9f133786ebc3.zip |
Update lib/public/util.php
The call of \OC_MAIL::send() overrides all optional parameters. This is not necessary. But if you want to have html mail templates (what I'm thinking about) it is a real problem
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/util.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/util.php b/lib/public/util.php index a78a52f326e..968ca891b4c 100644 --- a/lib/public/util.php +++ b/lib/public/util.php @@ -59,9 +59,9 @@ class Util { * @param string $fromname * @param bool $html */ - public static function sendMail( $toaddress, $toname, $subject, $mailtext, $fromaddress, $fromname, $html=0, $altbody='', $ccaddress='', $ccname='', $bcc='') { + public static function sendMail( $toaddress, $toname, $subject, $mailtext, $fromaddress, $fromname, $html = 0, $altbody = '', $ccaddress = '', $ccname = '', $bcc = '') { // call the internal mail class - \OC_MAIL::send($toaddress, $toname, $subject, $mailtext, $fromaddress, $fromname, $html = 0, $altbody = '', $ccaddress = '', $ccname = '', $bcc = ''); + \OC_MAIL::send($toaddress, $toname, $subject, $mailtext, $fromaddress, $fromname, $html, $altbody, $ccaddress, $ccname, $bcc); } /** |