summaryrefslogtreecommitdiff
path: root/view.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-02-08 21:51:14 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-02-08 21:51:14 +0000
commitbd3da2b27d914f8e8bdf3b58b662dee3b62217c8 (patch)
treeb129d3eeafc2d087072c28710964c13cd14ef09b /view.php
parent24e783063112b3bf3a1bc11a14ae87fae74111e2 (diff)
downloadpigeonholes-bd3da2b27d914f8e8bdf3b58b662dee3b62217c8.tar.gz
pigeonholes-bd3da2b27d914f8e8bdf3b58b662dee3b62217c8.tar.bz2
pigeonholes-bd3da2b27d914f8e8bdf3b58b662dee3b62217c8.zip
php: introduce new method: getPref( $package, $pref, $defaut ) (order is open for discussion
tpl: $gBitPref.package.pref applied package name to all saves - should make database more organised and should allow more reliable uninstalls in the future
Diffstat (limited to 'view.php')
-rw-r--r--view.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/view.php b/view.php
index e4441a8..c07375f 100644
--- a/view.php
+++ b/view.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_pigeonholes/view.php,v 1.9 2006/02/08 14:05:53 lsces Exp $
+ * $Header: /cvsroot/bitweaver/_bit_pigeonholes/view.php,v 1.10 2006/02/08 21:51:14 squareing 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.9 2006/02/08 14:05:53 lsces Exp $
+ * $Id: view.php,v 1.10 2006/02/08 21:51:14 squareing Exp $
* @package pigeonholes
* @subpackage functions
*/
@@ -86,8 +86,7 @@ $listHash = array(
'structure_id' => $gContent->mInfo['structure_id'],
'load_extras' => TRUE
);
-$cpath = $gContent->getField( 'path' );
-if( $gContent->checkPathPermissions( $cpath ) ) {
+if( $gContent->checkPathPermissions( $gContent->getField( 'path' ) ) ) {
$pigeonList = $gContent->getList( $listHash );
$gBitSmarty->assign( 'pigeonList', $pigeonList );
} else {