Don't display Privacy (Classification) when set to X-* value in iTip
... it's ignored anyway.
This commit is contained in:
parent
1e8050b96a
commit
c5843388a8
1 changed files with 1 additions and 1 deletions
|
@ -795,7 +795,7 @@ class libcalendaring_itip
|
|||
$table->add('label', $this->gettext('location'));
|
||||
$table->add('location', rcube::Q($event['location']));
|
||||
}
|
||||
if ($event['sensitivity'] && $event['sensitivity'] != 'public') {
|
||||
if ($event['sensitivity'] && !preg_match('/^(x-|public$)/i', $event['sensitivity'])) {
|
||||
$table->add('label', $this->gettext('sensitivity'));
|
||||
$table->add('sensitivity', ucfirst($this->gettext($event['sensitivity'])) . '!');
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue