Commit 3253a059 authored by Cédric Anne's avatar Cédric Anne
Browse files

Fix notifications encoding when sent from massive actions

parent ee6be54b
......@@ -436,6 +436,8 @@ class QueuedNotification extends CommonDBTM {
*/
public function sendById($ID) {
if ($this->getFromDB($ID)) {
$this->fields = Toolbox::unclean_cross_side_scripting_deep($this->fields);
$mode = $this->getField('mode');
$eventclass = 'NotificationEvent' . ucfirst($mode);
$conf = Notification_NotificationTemplate::getMode($mode);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment