don't force replies to empty set in Poll_response

This commit is contained in:
Evan Prodromou 2011-07-02 00:49:04 -04:00
parent 2998033816
commit 333876c6a9

View File

@ -200,12 +200,10 @@ class Poll_response extends Managed_DataObject
$rendered = sprintf(_m('voted for "%s"'), $link);
$tags = array();
$replies = array();
$options = array_merge(array('urls' => array(),
'rendered' => $rendered,
'tags' => $tags,
'replies' => $replies,
'reply_to' => $poll->getNotice()->id,
'object_type' => PollPlugin::POLL_RESPONSE_OBJECT),
$options);