summaryrefslogtreecommitdiffstats
path: root/app/class/object.class.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/class/object.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/class/object.class.php b/app/class/object.class.php
index 8ad17f5..6a77b37 100644
--- a/app/class/object.class.php
+++ b/app/class/object.class.php
@@ -76,8 +76,8 @@ class object extends table
public function getMembers() : array
{
$memb = array();
- $query = "SELECT member FROM members WHERE guid = '" . $this->db->esc($this->guid) . "'";
- $res = $this->db->query($query);
+ $query = "SELECT member FROM members WHERE guid = '" . database::esc($this->guid) . "'";
+ $res = database::query($query);
foreach ($res as $m)
$memb[] = new user($m['member']);