From 67e086bba71b28ddfc24f49cb13b6ab2bff623f3 Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 4 Mar 2013 13:35:41 -0800 Subject: [PATCH] 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 --- .../maniphest/controller/ManiphestTaskListController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/maniphest/controller/ManiphestTaskListController.php b/src/applications/maniphest/controller/ManiphestTaskListController.php index 4f63abde00..42b6fc8cae 100644 --- a/src/applications/maniphest/controller/ManiphestTaskListController.php +++ b/src/applications/maniphest/controller/ManiphestTaskListController.php @@ -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; }