mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 09:20:58 +01:00
Save disk space
Summary: so many bytes saved Test Plan: http://local.aphront.com:8080/maniphest/view/custom/?tasks=12,14 http://local.aphront.com:8080/maniphest/view/custom/?tasks=~ Reviewers: vrana Reviewed By: vrana CC: aran, AnhNhan Differential Revision: https://secure.phabricator.com/D5211
This commit is contained in:
parent
a20ba85b75
commit
67e086bba7
1 changed files with 1 additions and 1 deletions
|
@ -731,7 +731,7 @@ final class ManiphestTaskListController extends ManiphestController {
|
|||
$numeric_task_ids = array();
|
||||
|
||||
foreach ($task_ids as $task_id) {
|
||||
$task_id = preg_replace('/[^\d]+/', '', $task_id);
|
||||
$task_id = preg_replace('/\D+/', '', $task_id);
|
||||
if (!empty($task_id)) {
|
||||
$numeric_task_ids[] = $task_id;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue