From d219c7312b87a0a18250c0018812e34619bfde43 Mon Sep 17 00:00:00 2001 From: brettp Date: Thu, 6 Jan 2011 05:10:07 +0000 Subject: Fixes #1242: elgg_get_data() correctly returns an empty array on no results. It still returns false on error, but I consider that the correct behavior. Please reopen if it needs discussion. git-svn-id: http://code.elgg.org/elgg/trunk@7850 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/entities.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'engine') diff --git a/engine/lib/entities.php b/engine/lib/entities.php index e38b0f924..1660d6e4e 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -875,8 +875,6 @@ function elgg_get_entities(array $options = array()) { } $dt = get_data($query, $options['row_callback']); - - //@todo normalize this to array() return $dt; } else { $total = get_data_row($query); -- cgit v1.2.3