mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
* API - Make sure private custom fields are not accidentally included in notification due to being cached
This commit is contained in:
parent
84dc97dc83
commit
a9b616fa20
@ -255,6 +255,10 @@ abstract class Tracking
|
||||
{
|
||||
if (in_array($field['type'], Customfields::$non_printable_fields)) continue;
|
||||
|
||||
// Sometimes cached customfields let private fields the user can access
|
||||
// leak through. Make sure we don't expose them.
|
||||
if ($field['private']) continue;
|
||||
|
||||
if (!$header_done)
|
||||
{
|
||||
$details['custom'] = array(
|
||||
|
Loading…
Reference in New Issue
Block a user