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 465b0d9ac..f05cf2430 100644 --- a/engine/lib/metadata.php +++ b/engine/lib/metadata.php @@ -324,7 +324,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"); } |