diff -u b/includes/common.inc b/includes/common.inc --- b/includes/common.inc +++ b/includes/common.inc @@ -7927,7 +7927,7 @@ } if (is_array($ids)) { foreach ($ids as $key => $id) { - if (!is_int($id)) { + if (!is_numeric($id)) { trigger_error("If an array is passed as the second argument to entity_load(), it must contain integers only."); unset($ids[$key]); }