From e20fbb36d3d8e2fce8524483e95778b6be3272dd Mon Sep 17 00:00:00 2001 From: Max Kremmel Date: Sat, 25 Aug 2007 10:35:56 +0000 Subject: correctly convert string to array --- Pigeonholes.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Pigeonholes.php') diff --git a/Pigeonholes.php b/Pigeonholes.php index 9613ed8..2565f69 100644 --- a/Pigeonholes.php +++ b/Pigeonholes.php @@ -1,6 +1,6 @@ - * @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 -- cgit v1.3