Commit 1548dcc7 authored by Gasol Wu's avatar Gasol Wu

Zend style, if/else

parent ed516521
......@@ -58,7 +58,9 @@ class Solarium_Client_ResponseParser_MoreLikeThis
$query = $result->getQuery();
$postResult = parent::parse($result);
if (isset($data['interestingTerms']) and 'none' != $query->getInterestingTerms()) {
if (isset($data['interestingTerms'])
and 'none' != $query->getInterestingTerms()
) {
$terms = $data['interestingTerms'];
if ('details' == $query->getInterestingTerms()) {
$tempTerms = array();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment