Skip to content

Commit

Permalink
fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
skalmi committed Apr 3, 2014
1 parent e3f48ad commit d254d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/Datasource/Http/ElasticsearchSource.php
Expand Up @@ -93,7 +93,7 @@ protected function _extractResult(Model $model, array $result, $requestMethod, $
$this->_requestStatus[$requestMethod][$indexName] = $result[$indexName];
}
if (isset($result['hits'])) {
if(isset($result['hits']['hits'])){
if (isset($result['hits']['hits'])) {
$this->affected = count($result['hits']['hits']);
}
foreach ($gethits as $indexName)
Expand Down

0 comments on commit d254d89

Please sign in to comment.