From: Evan Prodromou Date: Sat, 2 Jul 2011 04:49:04 +0000 (-0400) Subject: don't force replies to empty set in Poll_response X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=333876c6a91928c933f8d9b550fb29c743e98f47;p=quix0rs-gnu-social.git don't force replies to empty set in Poll_response --- diff --git a/plugins/Poll/Poll_response.php b/plugins/Poll/Poll_response.php index a4ea999933..15ddcaf90d 100644 --- a/plugins/Poll/Poll_response.php +++ b/plugins/Poll/Poll_response.php @@ -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);