if ($row = $this->db->fetchRow($query, array($this->id, $user_id))) {