summaryrefslogtreecommitdiff
path: root/view.php
diff options
context:
space:
mode:
authorbitweaver.org <bitweaver@users.sourceforge.net>2006-04-24 12:35:46 +0000
committerbitweaver.org <bitweaver@users.sourceforge.net>2006-04-24 12:35:46 +0000
commit340424535d8a8a5974b419922cea40eb77bb0108 (patch)
tree0c045b5dd27b096617bee175350302a81400f6f8 /view.php
parent5b2fd52f2fd58388684be1feeec8ae4d68127145 (diff)
downloadpigeonholes-340424535d8a8a5974b419922cea40eb77bb0108.tar.gz
pigeonholes-340424535d8a8a5974b419922cea40eb77bb0108.tar.bz2
pigeonholes-340424535d8a8a5974b419922cea40eb77bb0108.zip
clean up templates a bit
Diffstat (limited to 'view.php')
-rw-r--r--view.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/view.php b/view.php
index 0a486e3..86f84d4 100644
--- a/view.php
+++ b/view.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_pigeonholes/view.php,v 1.12 2006/04/11 13:07:41 squareing Exp $
+ * $Header: /cvsroot/bitweaver/_bit_pigeonholes/view.php,v 1.13 2006/04/24 12:35:46 bitweaver 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: view.php,v 1.12 2006/04/11 13:07:41 squareing Exp $
+ * $Id: view.php,v 1.13 2006/04/24 12:35:46 bitweaver Exp $
* @package pigeonholes
* @subpackage functions
*/
@@ -27,7 +27,7 @@ $gBitSmarty->assign_by_ref( 'memberFeedback', $memberFeedback = array() );
// set up structure related stuff
global $gStructure;
-if( !@BitBase::verifyId( $gContent->mInfo['root_structure_id'] ) ) {
+if( empty( $gContent->mInfo['root_structure_id'] ) || !@BitBase::verifyId( $gContent->mInfo['root_structure_id'] ) ) {
header( "Location:".PIGEONHOLES_PKG_URL."list.php" );
}