diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-01-30 08:53:05 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-01-30 08:53:05 +0000 |
commit | 9f77077584b592de68ca3e59f92204b715e03006 (patch) | |
tree | 6aa2807f0d207a9d7adcb6aff77a40395d2ba9e3 /modules/book.module | |
parent | 18a0cc2327b67000a71656273ebe5b4b1677ac0b (diff) | |
download | brdo-9f77077584b592de68ca3e59f92204b715e03006.tar.gz brdo-9f77077584b592de68ca3e59f92204b715e03006.tar.bz2 |
- Fixed a misplaced bracket that slipped in due to the db/node_rewrite_sql_patch.
Diffstat (limited to 'modules/book.module')
-rw-r--r-- | modules/book.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/book.module b/modules/book.module index 71295ab6a..a7aa2a994 100644 --- a/modules/book.module +++ b/modules/book.module @@ -642,7 +642,7 @@ function book_print($nid = 0, $depth = 1) { } function book_print_recurse($parent = '', $depth = 1) { - $result = db_query(db_rewrite_sql('SELECT n.nid, n.title, b.weight FROM {node} n INNER JOIN {book} b ON n.nid = b.nid WHERE n.status = 1 AND b.parent = %d AND n.moderate = 0 ORDER BY b.weight, n.title', $parent)); + $result = db_query(db_rewrite_sql('SELECT n.nid, n.title, b.weight FROM {node} n INNER JOIN {book} b ON n.nid = b.nid WHERE n.status = 1 AND b.parent = %d AND n.moderate = 0 ORDER BY b.weight, n.title'), $parent); while ($page = db_fetch_object($result)) { // Load the node: |