1
0
Fork 0
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:
epriestley 2013-03-04 13:35:41 -08:00
parent a20ba85b75
commit 67e086bba7

View file

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