summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-09-16 10:38:34 +0000
committerDries Buytaert <dries@buytaert.net>2003-09-16 10:38:34 +0000
commit93e6513ebc92c43032c3cc61bf04958f6d1e817e (patch)
tree5084f86f10a5964f7c21c2ec63476ca1f0c7ce6b /modules
parenta18b09b0e5a8e25879d394d0dd98f69a283a8124 (diff)
downloadbrdo-93e6513ebc92c43032c3cc61bf04958f6d1e817e.tar.gz
brdo-93e6513ebc92c43032c3cc61bf04958f6d1e817e.tar.bz2
- Fixed typo. Patch by Nick.
Diffstat (limited to 'modules')
-rw-r--r--modules/book.module4
-rw-r--r--modules/book/book.module4
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/book.module b/modules/book.module
index 450fde7a9..86e904405 100644
--- a/modules/book.module
+++ b/modules/book.module
@@ -106,7 +106,7 @@ function book_load($node) {
** If a user is about to update a book page, we overload some
** fields to reflect the changes. We use the request URI to
** dectect this as we don't want to interfer with updating a
- ** book page through the admin pages. See also: book_save().
+ ** book page through the admin pages.
*/
if ($user->uid) {
@@ -622,7 +622,7 @@ function book_page() {
if (user_access("access content")) {
switch (arg(1)) {
case "view":
- $node = node_load(array("nid" => arg(2)), 1);
+ $node = node_load(array("nid" => arg(2)));
theme("header");
book_show($node, arg(3));
theme("footer");
diff --git a/modules/book/book.module b/modules/book/book.module
index 450fde7a9..86e904405 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -106,7 +106,7 @@ function book_load($node) {
** If a user is about to update a book page, we overload some
** fields to reflect the changes. We use the request URI to
** dectect this as we don't want to interfer with updating a
- ** book page through the admin pages. See also: book_save().
+ ** book page through the admin pages.
*/
if ($user->uid) {
@@ -622,7 +622,7 @@ function book_page() {
if (user_access("access content")) {
switch (arg(1)) {
case "view":
- $node = node_load(array("nid" => arg(2)), 1);
+ $node = node_load(array("nid" => arg(2)));
theme("header");
book_show($node, arg(3));
theme("footer");