Changeset View
Changeset View
Standalone View
Standalone View
src/applications/maniphest/storage/ManiphestTransaction.php
Show First 20 Lines • Show All 208 Lines • ▼ Show 20 Lines | public function getNoEffectDescription() { | ||||
} | } | ||||
return parent::getNoEffectDescription(); | return parent::getNoEffectDescription(); | ||||
} | } | ||||
public function renderSubtypeName($value) { | public function renderSubtypeName($value) { | ||||
$object = $this->getObject(); | $object = $this->getObject(); | ||||
$map = $object->newEditEngineSubtypeMap(); | $map = $object->newEditEngineSubtypeMap(); | ||||
if (!isset($map[$value])) { | |||||
if (!$map->isValidSubtype($value)) { | |||||
return $value; | return $value; | ||||
} | } | ||||
return $map[$value]->getName(); | return $map->getSubtype($value)->getName(); | ||||
} | } | ||||
} | } |