Differential D21864 Diff 52157 src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldRemarkup.php
Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldRemarkup.php
Show All 24 Lines | public function getApplicationTransactionRemarkupBlocks( | ||||
return array( | return array( | ||||
$xaction->getNewValue(), | $xaction->getNewValue(), | ||||
); | ); | ||||
} | } | ||||
public function renderPropertyViewValue(array $handles) { | public function renderPropertyViewValue(array $handles) { | ||||
$value = $this->getFieldValue(); | $value = $this->getFieldValue(); | ||||
if (!strlen($value)) { | if ($value === null || !strlen($value)) { | ||||
return null; | return null; | ||||
} | } | ||||
// TODO: Once this stabilizes, it would be nice to let fields batch this. | // TODO: Once this stabilizes, it would be nice to let fields batch this. | ||||
// For now, an extra query here and there on object detail pages isn't the | // For now, an extra query here and there on object detail pages isn't the | ||||
// end of the world. | // end of the world. | ||||
$viewer = $this->getViewer(); | $viewer = $this->getViewer(); | ||||
▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines |