- Patch #9649 by JonBob: fixed a buglet in the recent book patch. It tried
to set book breadcrumbs for nodes that weren't books.4.5.x
parent
ca3e769fa6
commit
f97c3367b0
|
@ -456,11 +456,11 @@ function book_nodeapi(&$node, $op, $teaser, $page) {
|
|||
$node->$key = $value;
|
||||
}
|
||||
$node = book_navigation($node);
|
||||
}
|
||||
if ($page) {
|
||||
menu_set_location($node->breadcrumb);
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -456,11 +456,11 @@ function book_nodeapi(&$node, $op, $teaser, $page) {
|
|||
$node->$key = $value;
|
||||
}
|
||||
$node = book_navigation($node);
|
||||
}
|
||||
if ($page) {
|
||||
menu_set_location($node->breadcrumb);
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue