Changeset 2539


Ignore:
Timestamp:
Dec 4, 2011, 5:27:39 PM (8 years ago)
Author:
teymour
Message:

Correction du unset mal positionné

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/branches/senat/project/lib/model/solr/SolrConnector.class.php

    r2536 r2539  
    107107        $results['response']['docs'][$i]['object'] = Doctrine::getTable($res['object_name'])->find($res['object_id']);
    108108      }
     109      if (!$results['response']['docs'][$i]['object'])
     110-       $unset[] = $i;
    109111      $results['response']['docs'][$i]['hightlighting'] = $results['response']['highlighting'][$id]['text'];
    110       $unset[] = $i;
    111112    }
    112113    foreach ($unset as $i) {
Note: See TracChangeset for help on using the changeset viewer.