mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Use system charset for systems that aren't UTF-8
This commit is contained in:
parent
288d40065a
commit
4312c485d1
@ -274,7 +274,7 @@ class notifications_ajax {
|
||||
}
|
||||
$message = preg_replace('#</?a[^>]*>#is','',$message);
|
||||
|
||||
$message = 'data:text/html;charset=utf-8;base64,'.base64_encode($message);
|
||||
$message = 'data:text/html;charset=' . translation::charset() .';base64,'.base64_encode($message);
|
||||
}
|
||||
$this->response->addScriptCall('append_notification_message',$notification['notify_id'],$notification['notify_message'],$message);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user