From 24521672b872bbefdef96321ff2302cfc87af9d3 Mon Sep 17 00:00:00 2001
From: Alvaro Soliverez <alvaro.soliverez@collabora.com>
Date: Tue, 29 Nov 2016 23:40:49 +0000
Subject: [PATCH] Use Maniphest functions instead of hardcoded status

Differential Revision: https://phabricator.collabora.co.uk/D974
---
 src/storage/TaskTableDataProvider.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/storage/TaskTableDataProvider.php b/src/storage/TaskTableDataProvider.php
index 6179b58..87eb542 100644
--- a/src/storage/TaskTableDataProvider.php
+++ b/src/storage/TaskTableDataProvider.php
@@ -199,7 +199,7 @@ final class TaskTableDataProvider {
             'a',
             array(
                 'href' => '/'.$task->getMonogram(),
-                'class' => $status !== 'open'
+                'class' => !ManiphestTaskStatus::isOpenStatus($status)
                     ? 'phui-tag-core-closed'
                     : '',
             ),
-- 
GitLab