Skip to content
Permalink
Browse files

Fix EZP-23282: Solr returns wrong results after object language deletion

Corrected parameter mistake (even if it worked with a contentObject.
  • Loading branch information...
yannickroger committed Sep 15, 2014
1 parent e14fba7 commit 722313b9e7b6f1eb6f69eda868bfaa9df3147f71
Showing with 1 addition and 1 deletion.
  1. +1 −1 search/plugins/ezsolr/ezsolr.php
@@ -527,7 +527,7 @@ function addObject( $contentObject, $commit = true, $commitWithin = 0, $softComm
if ( !empty( $translationsToRemove ) )
{
$this->removeObjectById( $contentObject, null, 0, $translationsToRemove );
$this->removeObjectById( $contentObject->attribute( 'id' ), null, 0, $translationsToRemove );
}
// Loop over each language version and create an eZSolrDoc for it

0 comments on commit 722313b

Please sign in to comment.
You can’t perform that action at this time.