mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 14:00:56 +01:00
Merge pull request #130 from floatingLomas/1364-space-separated-task-ids
Allow use of any whitespace or a comma as a task ID delimiter in custom ...
This commit is contained in:
commit
ee4cedce7f
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ final class AphrontRequest {
|
|||
return $default;
|
||||
}
|
||||
$list = $this->getStr($name);
|
||||
$list = preg_split('/[,\n]/', $list);
|
||||
$list = preg_split('/[\s,]/', $list);
|
||||
$list = array_map('trim', $list);
|
||||
$list = array_filter($list, 'strlen');
|
||||
$list = array_values($list);
|
||||
|
|
Loading…
Reference in a new issue