diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-06 05:10:07 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-06 05:10:07 +0000 |
commit | d219c7312b87a0a18250c0018812e34619bfde43 (patch) | |
tree | ebc2650bab17c3195fe6e5e3e1aa7ab392800173 /engine | |
parent | 82fe58de8541f2287ca28656c2121e3e3496c86f (diff) | |
download | elgg-d219c7312b87a0a18250c0018812e34619bfde43.tar.gz elgg-d219c7312b87a0a18250c0018812e34619bfde43.tar.bz2 |
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
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/entities.php | 2 |
1 files changed, 0 insertions, 2 deletions
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); |