summaryrefslogtreecommitdiff
path: root/lookup_page_inc.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 /lookup_page_inc.php
parent5ecb47f7f6ebf210bd9133d1974f067b51a3a300 (diff)
downloadwiki-e142f1af7040016c0d076ba7b7d659b8ec2485f3.tar.gz
wiki-e142f1af7040016c0d076ba7b7d659b8ec2485f3.tar.bz2
wiki-e142f1af7040016c0d076ba7b7d659b8ec2485f3.zip
merge recent changes into HEAD
Diffstat (limited to 'lookup_page_inc.php')
-rw-r--r--lookup_page_inc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lookup_page_inc.php b/lookup_page_inc.php
index e826296..b97cc4d 100644
--- a/lookup_page_inc.php
+++ b/lookup_page_inc.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/lookup_page_inc.php,v 1.4 2005/08/24 21:00:26 squareing Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/lookup_page_inc.php,v 1.5 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: lookup_page_inc.php,v 1.4 2005/08/24 21:00:26 squareing Exp $
+ * $Id: lookup_page_inc.php,v 1.5 2005/12/26 12:27:43 squareing Exp $
* @package wiki
* @subpackage functions
*/
@@ -23,7 +23,7 @@
// if we already have a gContent, we assume someone else created it for us, and has properly loaded everything up.
if( empty( $gContent ) || !is_object( $gContent ) ) {
- $gContent = new BitPage( !empty( $_REQUEST['page_id'] ) ? $_REQUEST['page_id'] : NULL, !empty( $_REQUEST['content_id'] ) ? $_REQUEST['content_id'] : NULL );
+ $gContent = new BitPage( @BitBase::verifyId( $_REQUEST['page_id'] ) ? $_REQUEST['page_id'] : NULL, @BitBase::verifyId( $_REQUEST['content_id'] ) ? $_REQUEST['content_id'] : NULL );
$loadPage = (!empty( $_REQUEST['page'] ) ? $_REQUEST['page'] : NULL);
if( empty( $gContent->mPageId ) && empty( $gContent->mContentId ) ) {