mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-03 11:21:01 +01:00
Fixes bug introduced by D6251
Summary: Casting the defaul custom field storage to an int, need to stop that! Test Plan: Use some custom fields, make sure they work as expected. Fixes T3444 Reviewers: epriestley, mbishopim3 Reviewed By: mbishopim3 CC: aran, Korvin, mbishopim3 Maniphest Tasks: T3444 Differential Revision: https://secure.phabricator.com/D6282
This commit is contained in:
parent
35fae8f452
commit
933d45d5cf
1 changed files with 3 additions and 1 deletions
|
@ -205,8 +205,10 @@ class ManiphestAuxiliaryFieldDefaultSpecification
|
|||
case self::TYPE_USER:
|
||||
case self::TYPE_USERS:
|
||||
return json_encode($this->getValue());
|
||||
default:
|
||||
case self::TYPE_DATE:
|
||||
return (int)$this->getValue();
|
||||
default:
|
||||
return $this->getValue();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue