summaryrefslogtreecommitdiff
path: root/modules/book/book.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/book/book.module')
-rw-r--r--modules/book/book.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/book/book.module b/modules/book/book.module
index a8425033e..834823272 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -940,21 +940,21 @@ function template_preprocess_book_navigation(&$variables) {
if ($prev = book_prev($book_link)) {
$prev_href = url($prev['href']);
- drupal_add_link(array('rel' => 'prev', 'href' => $prev_href));
+ drupal_add_html_head_link(array('rel' => 'prev', 'href' => $prev_href));
$variables['prev_url'] = $prev_href;
$variables['prev_title'] = check_plain($prev['title']);
}
if ($book_link['plid'] && $parent = book_link_load($book_link['plid'])) {
$parent_href = url($parent['href']);
- drupal_add_link(array('rel' => 'up', 'href' => $parent_href));
+ drupal_add_html_head_link(array('rel' => 'up', 'href' => $parent_href));
$variables['parent_url'] = $parent_href;
$variables['parent_title'] = check_plain($parent['title']);
}
if ($next = book_next($book_link)) {
$next_href = url($next['href']);
- drupal_add_link(array('rel' => 'next', 'href' => $next_href));
+ drupal_add_html_head_link(array('rel' => 'next', 'href' => $next_href));
$variables['next_url'] = $next_href;
$variables['next_title'] = check_plain($next['title']);
}