diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-02-04 12:18:31 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-02-04 12:18:31 +0000 |
| commit | fd0d36738afdee0279e95f2ec413ce9cc2a9828f (patch) | |
| tree | aea7ef6721c163a0a10c05ae7ed4146033e8783c /assign_content.php | |
| parent | 6768a8b22a24a317d71dd7d09e890d1d5ee36a5c (diff) | |
| download | pigeonholes-fd0d36738afdee0279e95f2ec413ce9cc2a9828f.tar.gz pigeonholes-fd0d36738afdee0279e95f2ec413ce9cc2a9828f.tar.bz2 pigeonholes-fd0d36738afdee0279e95f2ec413ce9cc2a9828f.zip | |
simplify LibertyStructure::getStructure() API by automatically getting and checking for the root_content_id using LibertyStructure::getRootStructureId()
Diffstat (limited to 'assign_content.php')
| -rw-r--r-- | assign_content.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/assign_content.php b/assign_content.php index 9ab5a77..62dd7cf 100644 --- a/assign_content.php +++ b/assign_content.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_pigeonholes/assign_content.php,v 1.1 2006/01/25 19:19:35 squareing Exp $ + * $Header: /cvsroot/bitweaver/_bit_pigeonholes/assign_content.php,v 1.2 2006/02/04 12:18:31 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: assign_content.php,v 1.1 2006/01/25 19:19:35 squareing Exp $ + * $Id: assign_content.php,v 1.2 2006/02/04 12:18:31 squareing Exp $ * @package pigeonholes * @subpackage functions */ @@ -47,7 +47,7 @@ if( !empty( $_REQUEST['insert_content'] ) && isset( $_REQUEST['pigeonhole'] ) ) $deletableParentIds = array(); if( empty( $gStructure ) && @BitBase::verifyId( $_REQUEST['root_structure_id'] ) ) { $gStructure = new LibertyStructure(); - $struct = $gStructure->getStructure( $_REQUEST['root_structure_id'] ); + $struct = $gStructure->getStructure( $_REQUEST ); foreach( $struct as $node ) { $deletableParentIds[] = $node['content_id']; } |
