mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 04:41:41 +02: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 = '';
|
$replace = '';
|
||||||
|
|
||||||
$header['subject'] = preg_replace($search,$replace,$header['subject']);
|
$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!
|
// curly brackets get messed up by the template!
|
||||||
$header['subject'] = str_replace(array('{','}'),array('{','}'),$header['subject']);
|
|
||||||
|
|
||||||
if (!empty($header['subject'])) {
|
if (!empty($header['subject'])) {
|
||||||
// make the subject shorter if it is to long
|
// make the subject shorter if it is to long
|
||||||
$fullSubject = $header['subject'];
|
$fullSubject = $header['subject'];
|
||||||
$subject = $header['subject'];
|
$subject = $header['subject'];
|
||||||
} else {
|
} else {
|
||||||
$subject = @htmlspecialchars('('. lang('no subject') .')', ENT_QUOTES, $this->charset);
|
$subject = '('. lang('no subject') .')';
|
||||||
}
|
}
|
||||||
|
|
||||||
$data["subject"] = $subject; // the mailsubject
|
$data["subject"] = $subject; // the mailsubject
|
||||||
|
Loading…
x
Reference in New Issue
Block a user