aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/entities.php')
-rw-r--r--engine/lib/entities.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index 57a98ae40..8f7d78d3d 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -823,7 +823,7 @@ function elgg_get_entities(array $options = array()) {
if ($options['selects']) {
$selects = '';
foreach ($options['selects'] as $select) {
- $selects = ", $select";
+ $selects .= ", $select";
}
} else {
$selects = '';
@@ -1326,7 +1326,7 @@ function elgg_list_entities(array $options = array(), $getter = 'elgg_get_entiti
if (isset($options['view_type_toggle'])) {
$options['list_type_toggle'] = $options['view_type_toggle'];
}
-
+
$options['count'] = TRUE;
$count = $getter($options);
@@ -2401,7 +2401,7 @@ function elgg_list_registered_entities($options) {
if (isset($options['view_type_toggle'])) {
$options['list_type_toggle'] = $options['view_type_toggle'];
}
-
+
$typearray = array();
if ($object_types = get_registered_entity_types()) {