1.6.0.10 Ajax search warnings

Hi there, 
I didn't find the issue in pull requests so I add one:

In controllers/front/SearchController.php line 64
<pre>
$searchResults = Search::find((int)(Tools::getValue('id_lang')), $query, 1, 10, 'position', 'desc', true);
foreach ($searchResults as &$product)
    $product['product_link'] = $this->context->link->getProductLink($product['id_product'], $product['prewrite'], $product['crewrite']);
die(Tools::jsonEncode($searchResults));
</pre>
triggers a warning because Search::find returns
<pre>
return array('total' => $total,'result' => $result_properties);
</pre>
the code should be
<pre>
$searchResults = Search::find((int)(Tools::getValue('id_lang')), $query, 1, 10, 'position', 'desc', true);
foreach ($searchResults['result'] as &$product)
</pre>

EDIT:
I guess I messed around with the merge I don't want to add a pull request just an issue