mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 08:42:41 +01:00
Allow use of any whitespace or a comma as a task ID delimiter in custom query.
This commit is contained in:
parent
444c634b6c
commit
4131fd34d3
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