Skip to content
Snippets Groups Projects
Commit 66317fbe authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #453588 by alienbrain, Jody Lynn: poll use for hook_link() no longer applies.

parent 029c48c6
No related branches found
No related tags found
No related merge requests found
......@@ -569,7 +569,7 @@ function poll_block_latest_poll_view($node) {
$node->readmore = FALSE;
$node->teaser = '';
$links = module_invoke_all('link', 'node', $node, 1);
$links = array();
$links[] = array('title' => t('Older polls'), 'href' => 'poll', 'attributes' => array('title' => t('View the list of polls on this site.')));
if ($node->allowvotes) {
$links[] = array('title' => t('Results'), 'href' => 'node/' . $node->nid . '/results', 'attributes' => array('title' => t('View the current poll results.')));
......
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