Page MenuHomePhabricator

D10659.id25598.diff
No OneTemporary

D10659.id25598.diff

diff --git a/src/infrastructure/customfield/standard/PhabricatorStandardCustomField.php b/src/infrastructure/customfield/standard/PhabricatorStandardCustomField.php
--- a/src/infrastructure/customfield/standard/PhabricatorStandardCustomField.php
+++ b/src/infrastructure/customfield/standard/PhabricatorStandardCustomField.php
@@ -107,8 +107,10 @@
$this->setCaption($value);
break;
case 'required':
- $this->setRequired($value);
- $this->setFieldError(true);
+ if ($value) {
+ $this->setRequired($value);
+ $this->setFieldError(true);
+ }
break;
case 'default':
$this->setFieldValue($value);

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 1, 7:23 AM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6715953
Default Alt Text
D10659.id25598.diff (713 B)

Event Timeline