We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 333876c6 authored by Evan Prodromou's avatar Evan Prodromou

don't force replies to empty set in Poll_response

parent 29980338
......@@ -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),
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment