Commit dd781f99 authored by Dries's avatar Dries

- Patch #866220 by David_Rothstein: URL parameter for theme_more_link() should not pass url().

parent c6f65d2e
......@@ -245,7 +245,7 @@ function blog_block_view($delta = '') {
$block['content']['blog_list'] = $node_title_list;
$block['content']['blog_more'] = array(
'#theme' => 'more_link',
'#url' => url('blog'),
'#url' => 'blog',
'#title' => t('Read the latest blog entries.'),
);
......
......@@ -700,7 +700,7 @@ function forum_block_view_pre_render($elements) {
$result = $elements['#query']->execute();
if ($node_title_list = node_title_list($result)) {
$elements['forum_list'] = $node_title_list;
$elements['forum_more'] = array('#theme' => 'more_link', '#url' => url('forum'), '#title' => t('Read the latest forum topics.'));
$elements['forum_more'] = array('#theme' => 'more_link', '#url' => 'forum', '#title' => t('Read the latest forum topics.'));
}
return $elements;
}
......
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