summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-01-07 11:13:13 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2014-01-07 15:41:00 (GMT)
commit9e50d6e533db67fb3a7f1726d0e60a033cf4e967 (patch)
tree5647d6d06307dce78f544e963f952cac1bf66b9f
parenta0f91948d9ed35573d0e03c2c1ee4a79f6a31bbe (diff)
downloadiRony-9e50d6e533db67fb3a7f1726d0e60a033cf4e967.tar.gz
Use the right constant for charset
-rw-r--r--lib/Kolab/CalDAV/IMip.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Kolab/CalDAV/IMip.php b/lib/Kolab/CalDAV/IMip.php
index a846f92..c08f37a 100644
--- a/lib/Kolab/CalDAV/IMip.php
+++ b/lib/Kolab/CalDAV/IMip.php
@@ -93,8 +93,8 @@ class IMip extends CalDAV\Schedule\IMip
$message = new Mail_mime("\r\n");
$message->setParam('text_encoding', 'quoted-printable');
$message->setParam('head_encoding', 'quoted-printable');
- $message->setParam('head_charset', RCMAIL_CHARSET);
- $message->setParam('text_charset', RCMAIL_CHARSET . ";\r\n format=flowed");
+ $message->setParam('head_charset', RCUBE_CHARSET);
+ $message->setParam('text_charset', RCUBE_CHARSET . ";\r\n format=flowed");
// compose common headers array
$headers = array(
@@ -110,7 +110,7 @@ class IMip extends CalDAV\Schedule\IMip
$headers['User-Agent'] = $agent;
$message->headers($headers);
- $message->setContentType('text/calendar', array('method' => strval($vObject->method), 'charset' => RCMAIL_CHARSET));
+ $message->setContentType('text/calendar', array('method' => strval($vObject->method), 'charset' => RCUBE_CHARSET));
$message->setTXTBody($ics);
// send message through Roundcube's SMTP feature