1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00: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:
Jonathan Lomas 2012-06-15 15:54:09 -07:00
parent 444c634b6c
commit 4131fd34d3

View file

@ -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);