From f3d9ae81c671eb7e10021a96dc6f4e562d08939b Mon Sep 17 00:00:00 2001 From: Peter Keung Date: Wed, 4 Feb 2015 10:17:40 -0800 Subject: [PATCH] Fix EZP-23617: Support content class IDs as filters --- classes/ezfindservercallfunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/ezfindservercallfunctions.php b/classes/ezfindservercallfunctions.php index eddd3332..b02cf8a3 100644 --- a/classes/ezfindservercallfunctions.php +++ b/classes/ezfindservercallfunctions.php @@ -175,7 +175,7 @@ public static function autocomplete( $args ) $classQueryParts = array(); foreach( $classes as $class ) { - if ( is_string( $class ) ) + if ( !is_numeric( $class ) ) { if ( $class = eZContentClass::fetchByIdentifier( $class ) ) {