1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-30 10:42:41 +01:00

Fix issue with checkbox custom controls that have no strings defined

Summary: Fixes T3864. If you define a "bool" control but don't define a
corresponding "strings", we currently fatal when trying to `idx()` into
`null`.

Auditors: btrahan
This commit is contained in:
epriestley 2013-09-22 19:49:37 -07:00
parent a09616858b
commit 173adec527

View file

@ -9,7 +9,7 @@ abstract class PhabricatorStandardCustomField
private $fieldDescription; private $fieldDescription;
private $fieldConfig; private $fieldConfig;
private $applicationField; private $applicationField;
private $strings; private $strings = array();
private $caption; private $caption;
private $fieldError; private $fieldError;
private $required; private $required;