Commit 66317fbe authored by Dries's avatar Dries

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

parent 029c48c6
......@@ -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.')));
......
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