]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #1242: elgg_get_data() correctly returns an empty array on no results. It still...
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 6 Jan 2011 05:10:07 +0000 (05:10 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 6 Jan 2011 05:10:07 +0000 (05:10 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@7850 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/lib/entities.php

index e38b0f9240c9ce4d0d97816152bcfaf0d436c2cc..1660d6e4ed3ccbb6727128734fb37443240136ae 100644 (file)
@@ -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);