Commit 77c85e32 authored by Dries's avatar Dries

- Patch #932016 by fago, klausi: fixed entity_load() defaults

parent 22ffb800
......@@ -7034,7 +7034,7 @@ function entity_create_stub_entity($entity_type, $ids) {
* @return
* An array of entity objects indexed by their ids.
*/
function entity_load($entity_type, $ids = array(), $conditions = array(), $reset = FALSE) {
function entity_load($entity_type, $ids = FALSE, $conditions = array(), $reset = FALSE) {
if ($reset) {
entity_get_controller($entity_type)->resetCache();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment