From 2a313eb971ab36e166308f7882897ef204234d0a Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Fri, 17 Nov 2017 14:46:23 -0800 Subject: Add the possibility to send tasks and comments to multiple recipients --- app/functions.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'app/functions.php') diff --git a/app/functions.php b/app/functions.php index 7cd59c41..94530af8 100644 --- a/app/functions.php +++ b/app/functions.php @@ -2,6 +2,13 @@ use Kanboard\Core\Translator; +function explode_csv_field($field) +{ + $fields = explode(',', $field); + array_walk($fields, function (&$value) { $value = trim($value); }); + return array_filter($fields); +} + /** * Associate another dict to a dict based on a common key * -- cgit v1.2.3