diff options
-rw-r--r-- | engine/lib/metadata.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/metadata.php b/engine/lib/metadata.php index 3d5eb7c35..1111fb551 100644 --- a/engine/lib/metadata.php +++ b/engine/lib/metadata.php @@ -317,7 +317,7 @@ $query .= " $w and "; $query .= " (e.access_id in {$access} or (e.access_id = 0 and e.owner_guid = {$_SESSION['id']}))"; // Add access controls $query .= " order by $order_by limit $limit, $offset"; // Add order and limit - echo $query; + return get_data($query, "entity_row_to_elggstar"); } |