From 71c5af55afd36d40b3a25c2cb2f91f036461e0eb Mon Sep 17 00:00:00 2001 From: Max Kremmel Date: Thu, 2 Feb 2006 17:19:05 +0000 Subject: fix content_type selection in getAssignableContent --- Pigeonholes.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Pigeonholes.php') diff --git a/Pigeonholes.php b/Pigeonholes.php index dce311b..899d395 100644 --- a/Pigeonholes.php +++ b/Pigeonholes.php @@ -1,6 +1,6 @@ - * @version $Revision: 1.36 $ + * @version $Revision: 1.37 $ * @package pigeonholes */ @@ -181,7 +181,7 @@ class Pigeonholes extends LibertyAttachable { if( !empty( $pListHash['content_type'] ) ) { $where .= empty( $where ) ? ' WHERE ' : ' AND '; $where .= " lc.`content_type_guid`=?"; - $bindVars[] = !empty( $pListHash['content_type'] ); + $bindVars[] = $pListHash['content_type']; } if( !empty( $pListHash['sort_mode'] ) ) { -- cgit v1.3