From 8e19529948749fa310bb2704d262ff065c9d90cc Mon Sep 17 00:00:00 2001 From: "bitweaver.org" Date: Tue, 20 Jun 2006 10:24:11 +0000 Subject: no need to check for empty() --- view.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/view.php b/view.php index 9f78e1e..812a844 100644 --- a/view.php +++ b/view.php @@ -1,6 +1,6 @@ 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" ); } -- cgit v1.3