diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-11-17 14:46:23 -0800 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-11-17 14:46:23 -0800 |
commit | 2a313eb971ab36e166308f7882897ef204234d0a (patch) | |
tree | 6bb7a72ee7bce1c0baef908af49ff1b817c939f2 /app/functions.php | |
parent | 3b786e05e0e51ca6f85ef9a3ca0d649f3e34c534 (diff) |
Add the possibility to send tasks and comments to multiple recipients
Diffstat (limited to 'app/functions.php')
-rw-r--r-- | app/functions.php | 7 |
1 files changed, 7 insertions, 0 deletions
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 * |