diff options
| author | bitweaver.org <bitweaver@users.sourceforge.net> | 2006-06-20 10:24:11 +0000 |
|---|---|---|
| committer | bitweaver.org <bitweaver@users.sourceforge.net> | 2006-06-20 10:24:11 +0000 |
| commit | 8e19529948749fa310bb2704d262ff065c9d90cc (patch) | |
| tree | 45aa35c2a113d2f901307b0f7a847b4223698467 | |
| parent | 3079a87fa26e1dd33834a1feba78b39f175fa7d0 (diff) | |
| download | pigeonholes-8e19529948749fa310bb2704d262ff065c9d90cc.tar.gz pigeonholes-8e19529948749fa310bb2704d262ff065c9d90cc.tar.bz2 pigeonholes-8e19529948749fa310bb2704d262ff065c9d90cc.zip | |
no need to check for empty()
| -rw-r--r-- | view.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_pigeonholes/view.php,v 1.14 2006/06/18 07:43:06 squareing Exp $ + * $Header: /cvsroot/bitweaver/_bit_pigeonholes/view.php,v 1.15 2006/06/20 10:24:11 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.14 2006/06/18 07:43:06 squareing Exp $ + * $Id: view.php,v 1.15 2006/06/20 10:24:11 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( empty( $gContent->mInfo['root_structure_id'] ) || !@BitBase::verifyId( $gContent->mInfo['root_structure_id'] ) ) { +if( !@BitBase::verifyId( $gContent->mInfo['root_structure_id'] ) ) { header( "Location:".PIGEONHOLES_PKG_URL."list.php" ); } |
