add more columns for custom-column selection (customer view)

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-05-15 18:39:36 +02:00
parent b12d9abaf2
commit 14d5c9da6c
5 changed files with 46 additions and 5 deletions

View File

@@ -40,4 +40,16 @@ class Email
]
];
}
public static function forwarderList(array $attributes)
{
$forwarders = explode(" ", $attributes['data']);
if (($key = array_search($attributes['fields']['email_full'], $forwarders)) !== false) {
unset($forwarders[$key]);
}
if (count($forwarders) > 0) {
return implode("<br>", $forwarders);
}
return "";
}
}