Skip to content

Commit

Permalink
Merge pull request #188 from peterkeung/autocomplete-filters
Browse files Browse the repository at this point in the history
Fix EZP-23617: Support content class IDs as filters
  • Loading branch information
yannickroger committed Feb 5, 2015
2 parents 305823f + f3d9ae8 commit 3d26bf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/ezfindservercallfunctions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) )
{
Expand Down

0 comments on commit 3d26bf7

Please sign in to comment.