title: Returned array index uses record id instead of row count
body: <p>I have the same script running on the same version of Opencart.</p>
  
  <p>Normally this line returns an array of all products:</p>
  
  <pre><code>$data = $this-&gt;model_catalog_product-&gt;getProducts();
  </code></pre>
  
  <p>and is indexed from zero to n</p>
  
  <p>Here is the <a href="http://code.google.com/p/opencart/source/browse/trunk/upload/admin/model/catalog/product.php" rel="nofollow">product.php</a> containing getProucts() function.</p>
  
  <p>In this case (different server) it returns an array with a single value - only the last record.
  Strangely, there are total of 131 records in the table, the id of last record is 191, the returned array is:</p>
  
  <pre><code>Array
  (
  [191] =&gt; Array
      (
          [product_id] =&gt; 191
          [model] =&gt; Product 15
          [sku] =&gt; 
          [upc] =&gt; 
          ...
      )
  )
  </code></pre>
  
  <p>Anybody knows what's going on?</p>