Differential D17004 Diff 41390 src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldLink.php
Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldLink.php
| Show All 12 Lines | public function buildFieldIndexes() { | ||||
| $value = $this->getFieldValue(); | $value = $this->getFieldValue(); | ||||
| if (strlen($value)) { | if (strlen($value)) { | ||||
| $indexes[] = $this->newStringIndex($value); | $indexes[] = $this->newStringIndex($value); | ||||
| } | } | ||||
| return $indexes; | return $indexes; | ||||
| } | } | ||||
| public function renderPropertyViewValue(array $handles) { | protected function renderValue() { | ||||
| $value = $this->getFieldValue(); | $value = $this->getFieldValue(); | ||||
| if (!strlen($value)) { | if (!strlen($value)) { | ||||
| return null; | return null; | ||||
| } | } | ||||
| if (!PhabricatorEnv::isValidRemoteURIForLink($value)) { | if (!PhabricatorEnv::isValidRemoteURIForLink($value)) { | ||||
| return $value; | return $value; | ||||
| ▲ Show 20 Lines • Show All 76 Lines • Show Last 20 Lines | |||||