mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
fix curly brackets issue in subject in mainview
This commit is contained in:
parent
03b901db04
commit
473da1949d
@ -1373,17 +1373,14 @@ unset($query['actions']);
|
||||
$replace = '';
|
||||
|
||||
$header['subject'] = preg_replace($search,$replace,$header['subject']);
|
||||
$headerSubject = $header['subject'];//mail_bo::htmlentities($header['subject'],$this->charset);
|
||||
$header['subject'] = $headerSubject;
|
||||
// curly brackets get messed up by the template!
|
||||
$header['subject'] = str_replace(array('{','}'),array('{','}'),$header['subject']);
|
||||
|
||||
if (!empty($header['subject'])) {
|
||||
// make the subject shorter if it is to long
|
||||
$fullSubject = $header['subject'];
|
||||
$subject = $header['subject'];
|
||||
} else {
|
||||
$subject = @htmlspecialchars('('. lang('no subject') .')', ENT_QUOTES, $this->charset);
|
||||
$subject = '('. lang('no subject') .')';
|
||||
}
|
||||
|
||||
$data["subject"] = $subject; // the mailsubject
|
||||
|
Loading…
Reference in New Issue
Block a user