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 ) ) {