summaryrefslogtreecommitdiff
path: root/view.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2006-02-08 14:05:53 +0000
committerLester Caine <lester@lsces.co.uk>2006-02-08 14:05:53 +0000
commit24e783063112b3bf3a1bc11a14ae87fae74111e2 (patch)
tree8b485cec5ce17eeb248cab03c11ec0a65cb8726e /view.php
parentcbe559474ad73396743d84afdd036ea9755c16a5 (diff)
downloadpigeonholes-24e783063112b3bf3a1bc11a14ae87fae74111e2.tar.gz
pigeonholes-24e783063112b3bf3a1bc11a14ae87fae74111e2.tar.bz2
pigeonholes-24e783063112b3bf3a1bc11a14ae87fae74111e2.zip
PHP reference 'bug' fix
Diffstat (limited to 'view.php')
-rw-r--r--view.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/view.php b/view.php
index 3f19543..e4441a8 100644
--- a/view.php
+++ b/view.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_pigeonholes/view.php,v 1.8 2006/02/08 12:31:14 squareing Exp $
+ * $Header: /cvsroot/bitweaver/_bit_pigeonholes/view.php,v 1.9 2006/02/08 14:05:53 lsces 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.8 2006/02/08 12:31:14 squareing Exp $
+ * $Id: view.php,v 1.9 2006/02/08 14:05:53 lsces Exp $
* @package pigeonholes
* @subpackage functions
*/
@@ -86,7 +86,8 @@ $listHash = array(
'structure_id' => $gContent->mInfo['structure_id'],
'load_extras' => TRUE
);
-if( $gContent->checkPathPermissions( $gContent->getField( 'path' ) ) ) {
+$cpath = $gContent->getField( 'path' );
+if( $gContent->checkPathPermissions( $cpath ) ) {
$pigeonList = $gContent->getList( $listHash );
$gBitSmarty->assign( 'pigeonList', $pigeonList );
} else {