diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-08-25 10:35:56 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-08-25 10:35:56 +0000 |
| commit | e20fbb36d3d8e2fce8524483e95778b6be3272dd (patch) | |
| tree | 19a66b409b6bba3d757149696c6125681fa287c8 /Pigeonholes.php | |
| parent | 6ee13487f257cb98b477c0d622e114c7be339e72 (diff) | |
| download | pigeonholes-e20fbb36d3d8e2fce8524483e95778b6be3272dd.tar.gz pigeonholes-e20fbb36d3d8e2fce8524483e95778b6be3272dd.tar.bz2 pigeonholes-e20fbb36d3d8e2fce8524483e95778b6be3272dd.zip | |
correctly convert string to array
Diffstat (limited to 'Pigeonholes.php')
| -rw-r--r-- | Pigeonholes.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Pigeonholes.php b/Pigeonholes.php index 9613ed8..2565f69 100644 --- a/Pigeonholes.php +++ b/Pigeonholes.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_pigeonholes/Pigeonholes.php,v 1.104 2007/08/25 10:30:49 squareing Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_pigeonholes/Pigeonholes.php,v 1.105 2007/08/25 10:35:56 squareing Exp $ * * +----------------------------------------------------------------------+ * | Copyright ( c ) 2004, bitweaver.org @@ -17,7 +17,7 @@ * Pigeonholes class * * @author xing <xing@synapse.plus.com> - * @version $Revision: 1.104 $ + * @version $Revision: 1.105 $ * @package pigeonholes */ @@ -1184,7 +1184,7 @@ function pigeonholes_content_list_sql( &$pObject, $pParamHash = NULL ) { if( !empty( $pParamHash['liberty_categories'] )) { if( !is_array( $pParamHash['liberty_categories'] )) { - $pParamHash['liberty_categories'][] = $pParamHash['liberty_categories']; + $pParamHash['liberty_categories'] = array( $pParamHash['liberty_categories'] ); } // if we want to allow items in subcategories, we get those and include them in the query |
