1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00

Minor, set default value for subscribedPHIDs to avoid:

array_diff(): Argument #1 is not an array at [/var/www/phabricator/phabricator/src/applications/feed/PhabricatorFeedStoryPublisher.php:109]

Auditors: alanh
This commit is contained in:
epriestley 2012-08-23 06:41:20 -07:00
parent f932906c0d
commit 40cccb0077

View file

@ -24,7 +24,7 @@ final class PhabricatorFeedStoryPublisher {
private $storyTime;
private $storyAuthorPHID;
private $primaryObjectPHID;
private $subscribedPHIDs;
private $subscribedPHIDs = array();
public function setRelatedPHIDs(array $phids) {
$this->relatedPHIDs = $phids;