Skip to content
Snippets Groups Projects
Commit f617f0e3 authored by Angie Byron's avatar Angie Byron
Browse files

#904308 by drunken monkey: Fixed 'Most recent poll' block doesn't show links

parent ff4452f4
No related branches found
No related tags found
No related merge requests found
......@@ -639,6 +639,11 @@ function poll_block_latest_poll_view($node) {
if (!empty($node->allowvotes)) {
$node->content['poll_view_voting'] = drupal_get_form('poll_view_voting', $node, TRUE);
$node->content['links'] = array(
'#theme' => 'links',
'#links' => $node->links,
'#weight' => 5,
);
}
else {
$node->content['poll_view_results'] = array('#markup' => poll_view_results($node, TRUE, TRUE));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment