summaryrefslogtreecommitdiff
path: root/lookup_page_inc.php
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2006-02-07 01:19:19 +0000
committerChristian Fowler <spider@viovio.com>2006-02-07 01:19:19 +0000
commit2e181f9e06e17e527031043216124da80afa3630 (patch)
tree2f31b2cd56f628cc44e76784e07ce26c998b151c /lookup_page_inc.php
parent3c7738bde4f7fa9d7074c42ef6e4fde1b12724b3 (diff)
downloadwiki-2e181f9e06e17e527031043216124da80afa3630.tar.gz
wiki-2e181f9e06e17e527031043216124da80afa3630.tar.bz2
wiki-2e181f9e06e17e527031043216124da80afa3630.zip
finish move of content versioning to liberty_content - had to move version column to Liberty as well.
Diffstat (limited to 'lookup_page_inc.php')
-rw-r--r--lookup_page_inc.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lookup_page_inc.php b/lookup_page_inc.php
index d2c8557..113638c 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.9 2006/02/06 22:56:52 squareing Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/lookup_page_inc.php,v 1.10 2006/02/07 01:19:19 spiderr 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.9 2006/02/06 22:56:52 squareing Exp $
+ * $Id: lookup_page_inc.php,v 1.10 2006/02/07 01:19:19 spiderr Exp $
* @package wiki
* @subpackage functions
*/
@@ -22,7 +22,7 @@
include_once( LIBERTY_PKG_PATH.'lookup_content_inc.php' );
// 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->isValid() ) {
+ if( empty( $gContent ) || !is_object( $gContent ) ) {
$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);
@@ -46,7 +46,7 @@
if( !$gContent->load() && $loadPage ) {
$gContent->mInfo['title'] = $loadPage;
}
-// }
+ }
// we weren't passed a structure, but maybe this page belongs to one. let's check...
if( empty( $gStructure ) ) {