summaryrefslogtreecommitdiff
path: root/Pigeonholes.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-08-25 10:35:56 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-08-25 10:35:56 +0000
commite20fbb36d3d8e2fce8524483e95778b6be3272dd (patch)
tree19a66b409b6bba3d757149696c6125681fa287c8 /Pigeonholes.php
parent6ee13487f257cb98b477c0d622e114c7be339e72 (diff)
downloadpigeonholes-e20fbb36d3d8e2fce8524483e95778b6be3272dd.tar.gz
pigeonholes-e20fbb36d3d8e2fce8524483e95778b6be3272dd.tar.bz2
pigeonholes-e20fbb36d3d8e2fce8524483e95778b6be3272dd.zip
correctly convert string to array
Diffstat (limited to 'Pigeonholes.php')
-rw-r--r--Pigeonholes.php6
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