summaryrefslogtreecommitdiff
path: root/edit_book.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2005-12-26 12:27:43 +0000
committerMax Kremmel <xing@synapse.plus.com>2005-12-26 12:27:43 +0000
commite142f1af7040016c0d076ba7b7d659b8ec2485f3 (patch)
tree47c219c1f88707c89d1039d4377a92c5738b3a02 /edit_book.php
parent5ecb47f7f6ebf210bd9133d1974f067b51a3a300 (diff)
downloadwiki-e142f1af7040016c0d076ba7b7d659b8ec2485f3.tar.gz
wiki-e142f1af7040016c0d076ba7b7d659b8ec2485f3.tar.bz2
wiki-e142f1af7040016c0d076ba7b7d659b8ec2485f3.zip
merge recent changes into HEAD
Diffstat (limited to 'edit_book.php')
-rw-r--r--edit_book.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/edit_book.php b/edit_book.php
index b093f1e..d17c914 100644
--- a/edit_book.php
+++ b/edit_book.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/edit_book.php,v 1.5 2005/12/18 22:33:43 squareing Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/edit_book.php,v 1.6 2005/12/26 12:27:43 squareing Exp $
*
* Copyright (c) 2004 bitweaver.org
* Copyright (c) 2003 tikwiki.org
@@ -8,7 +8,7 @@
* All Rights Reserved. See copyright.txt for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details
*
- * $Id: edit_book.php,v 1.5 2005/12/18 22:33:43 squareing Exp $
+ * $Id: edit_book.php,v 1.6 2005/12/26 12:27:43 squareing Exp $
* @package wiki
* @subpackage functions
*/
@@ -92,7 +92,7 @@ if( isset($_REQUEST["createstructure"]) ) {
}
header( "location: ".WIKI_PKG_URL."edit_book.php?structure_id=".$structure_id );
}
-} elseif( !empty( $_REQUEST["structure_id"] ) ) {
+} elseif( @BitBase::verifyId( $_REQUEST["structure_id"] ) ) {
// Get all wiki pages for the select box
$_REQUEST['content_type'] = !isset( $_REQUEST['content_type'] ) ? 'bitpage' : $_REQUEST['content_type'];
// verify the book permission on structure load