diff --git a/src/applications/search/engine/PhabricatorElasticSearchEngine.php b/src/applications/search/engine/PhabricatorElasticSearchEngine.php index e99160839f..fa6bdf8fee 100644 --- a/src/applications/search/engine/PhabricatorElasticSearchEngine.php +++ b/src/applications/search/engine/PhabricatorElasticSearchEngine.php @@ -79,7 +79,7 @@ final class PhabricatorElasticSearchEngine extends PhabricatorSearchEngine { $spec['relationship'][$rtype][] = array( 'phid' => $to_phid, 'phidType' => $to_type, - 'when' => $time, + 'when' => (int)$time, ); }