From d923b64c8cc6e4ac830beac57c171cc2b027b992 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 30 Apr 2008 12:59:36 +0000 Subject: [PATCH] Updated notify event, encode subject ot git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10747 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/addons/goto/events/class_DaemonEvent_notify.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gosa-plugins/goto/addons/goto/events/class_DaemonEvent_notify.inc b/gosa-plugins/goto/addons/goto/events/class_DaemonEvent_notify.inc index 16a2796f9..734e928c5 100644 --- a/gosa-plugins/goto/addons/goto/events/class_DaemonEvent_notify.inc +++ b/gosa-plugins/goto/addons/goto/events/class_DaemonEvent_notify.inc @@ -39,6 +39,7 @@ class DaemonEvent_notify extends DaemonEvent $this->from = $ui->cn; $this->message = base64_decode($this->message); + $this->subject = base64_decode($this->subject); $this->s_Menu_Name = _("Send message"); $this->s_Event_Name = _("Send message"); @@ -198,7 +199,7 @@ class DaemonEvent_notify extends DaemonEvent $ret = DaemonEvent::save(); $ret['users'] = array_values($this->users); $ret['groups'] = array_values($this->groups); - $ret['subject'] = $this->subject; + $ret['subject'] = base64_encode($this->subject); $ret['from'] = $this->from; $ret['message'] = base64_encode($this->message); return($ret); -- 2.30.2