Closed (fixed)
Project:
iDEAL
Version:
7.x-2.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jan 2012 at 15:06 UTC
Updated:
24 Jul 2013 at 08:53 UTC
I'm getting these errors:
Here's the referenced code, for convenience:
$entities = $query->entityCondition('entity_type', 'ideal_transaction')
->propertyOrderBy($sort_field, $order)
->range($page * 20, 20)
->execute();
$transactions = entity_load('ideal_transaction', array_keys($entities['ideal_transaction']));
Turns out that the query returns nothing (an empty array). Is that the expected behavior? If so, a simple check before line 73 wold suffice.
Comments
Comment #1
xanoThanks for reporting this bug!
Fixed and committed to 7.x-2.x-dev.
Comment #3
xano