1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 09:18:48 +02:00

Fix default value for <select /> standard custom fields

Summary: We aren't setting the value for select fields correctly, so when
editing they always show the first value instead of the correct value.

Test Plan: Set task from Apple -> Banana and Carrot -> Potato, saved, hit
"Edit", saw Banana / Potato.

Auditors: btrahan
This commit is contained in:
epriestley 2013-09-20 11:17:36 -07:00
parent 424f7545fc
commit 43bf21daa5

View file

@ -69,6 +69,7 @@ final class PhabricatorStandardCustomFieldSelect
->setLabel($this->getFieldName())
->setCaption($this->getCaption())
->setName($this->getFieldKey())
->setValue($this->getFieldValue())
->setOptions($this->getOptions());
}