diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-01-24 22:41:47 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-01-24 22:41:47 +0000 |
| commit | 2d0c4a72fd26352ab25c3aa550643cc489489e7c (patch) | |
| tree | 0105601ff32d758ad64bf8741b9acdd0c8cb481a /edit_pigeonholes.php | |
| parent | 275a506c3e136aa7559a1fab7ae7b12bf724d470 (diff) | |
| download | pigeonholes-2d0c4a72fd26352ab25c3aa550643cc489489e7c.tar.gz pigeonholes-2d0c4a72fd26352ab25c3aa550643cc489489e7c.tar.bz2 pigeonholes-2d0c4a72fd26352ab25c3aa550643cc489489e7c.zip | |
merge assign content changes to HEAD and clean up API
Diffstat (limited to 'edit_pigeonholes.php')
| -rw-r--r-- | edit_pigeonholes.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/edit_pigeonholes.php b/edit_pigeonholes.php index 36fb789..683b8b2 100644 --- a/edit_pigeonholes.php +++ b/edit_pigeonholes.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_pigeonholes/edit_pigeonholes.php,v 1.9 2006/01/24 10:21:23 squareing Exp $ + * $Header: /cvsroot/bitweaver/_bit_pigeonholes/edit_pigeonholes.php,v 1.10 2006/01/24 22:41:47 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: edit_pigeonholes.php,v 1.9 2006/01/24 10:21:23 squareing Exp $ + * $Id: edit_pigeonholes.php,v 1.10 2006/01/24 22:41:47 squareing Exp $ * @package pigeonholes * @subpackage functions */ @@ -111,7 +111,7 @@ if( !empty( $_REQUEST['search_objects'] ) ) { } if( $_REQUEST['action'] == 'dismember' && !empty( $_REQUEST['content_id'] ) && !empty( $_REQUEST['parent_id'] ) ) { - if( $gContent->expungePigeonholeMember( $_REQUEST['content_id'], $_REQUEST['parent_id'] ) ) { + if( $gContent->expungePigeonholeMember( array( 'parent_id' => $_REQUEST['content_id'], 'member_id' => $_REQUEST['parent_id'] ) ) ) { $feedback['success'] = tra( 'The item was successfully removed' ); } else { $feedback['error'] = tra( 'The item could not be removed' ); |
