aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-06-19 10:35:06 -0700
committerCash Costello <cash.costello@gmail.com>2012-06-19 10:35:06 -0700
commitd71309056037adc869319566f9ec53313eb192d8 (patch)
tree220f52d1584283f0bbaf9113bb45bc949fe8f406 /engine/lib
parentb0200823eb63940a23c33257758d2a8dc42ca25a (diff)
parent76978dd5620b5664e68a3a4068d5bd07771fe7ea (diff)
downloadelgg-d71309056037adc869319566f9ec53313eb192d8.tar.gz
elgg-d71309056037adc869319566f9ec53313eb192d8.tar.bz2
Merge pull request #189 from mrclay/t4432
Fix ticket 4432
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/entities.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index d950261a2..abfe07276 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -921,11 +921,11 @@ function elgg_get_entities(array $options = array()) {
}
if (!$options['count']) {
- if ($options['group_by'] = sanitise_string($options['group_by'])) {
+ if ($options['group_by']) {
$query .= " GROUP BY {$options['group_by']}";
}
- if ($options['order_by'] = sanitise_string($options['order_by'])) {
+ if ($options['order_by']) {
$query .= " ORDER BY {$options['order_by']}";
}