1
0
Fork 0
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:
Gareth Evans 2013-06-24 06:32:16 -07:00 committed by epriestley
parent 35fae8f452
commit 933d45d5cf

View file

@ -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();
}
}