diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-06-22 20:24:11 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-06-22 20:24:11 +0000 |
commit | ba233dd3b81f5f2acf0ab68704cae0c7103a54a8 (patch) | |
tree | e367439caa8ae8b6e3de4109a4e6f7bba1c03973 | |
parent | 5c8843704c2b953d5fb790ca084c700ea685d252 (diff) | |
download | brdo-ba233dd3b81f5f2acf0ab68704cae0c7103a54a8.tar.gz brdo-ba233dd3b81f5f2acf0ab68704cae0c7103a54a8.tar.bz2 |
- Patch #25504 by kumo: fixed problem with the weights of book pages not being remembered.
-rw-r--r-- | modules/book.module | 2 | ||||
-rw-r--r-- | modules/book/book.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/book.module b/modules/book.module index 88698a906..25fd86c90 100644 --- a/modules/book.module +++ b/modules/book.module @@ -281,7 +281,7 @@ function book_outline() { $page = db_fetch_object(db_query('SELECT * FROM {book} WHERE nid = %d', $node->nid)); $output = form_select(t('Parent'), 'parent', $page->parent, book_toc($node->nid), t('The parent page in the book.')); - $output .= form_weight(t('Weight'), 'weight', $node->weight, 15, t('Pages at a given level are ordered first by weight and then by title.')); + $output .= form_weight(t('Weight'), 'weight', $page->weight, 15, t('Pages at a given level are ordered first by weight and then by title.')); if ($page->nid) { $output .= form_submit(t('Update book outline')); diff --git a/modules/book/book.module b/modules/book/book.module index 88698a906..25fd86c90 100644 --- a/modules/book/book.module +++ b/modules/book/book.module @@ -281,7 +281,7 @@ function book_outline() { $page = db_fetch_object(db_query('SELECT * FROM {book} WHERE nid = %d', $node->nid)); $output = form_select(t('Parent'), 'parent', $page->parent, book_toc($node->nid), t('The parent page in the book.')); - $output .= form_weight(t('Weight'), 'weight', $node->weight, 15, t('Pages at a given level are ordered first by weight and then by title.')); + $output .= form_weight(t('Weight'), 'weight', $page->weight, 15, t('Pages at a given level are ordered first by weight and then by title.')); if ($page->nid) { $output .= form_submit(t('Update book outline')); |