For example, to load relationships of more than one type in one call, it should be possible to pass an array as the value: array("rtid" => array($rtid1, $rtid2)) SQL query is generated correctly with an IN clause, but parameters array is not flattened before being passed to db_query(). So the query does not get its parameters set properly.

Comments

alex.k’s picture

Status: Active » Fixed

Fixed and committed; doc for user_relationships_load() has been updated to mention this ability.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.