diff --git a/e107_plugins/list_new/section/list_members.php b/e107_plugins/list_new/section/list_members.php index a51da67e2..855d2c2b6 100644 --- a/e107_plugins/list_new/section/list_members.php +++ b/e107_plugins/list_new/section/list_members.php @@ -40,13 +40,13 @@ class list_members $bullet = $this->parent->getBullet($this->parent->settings['icon']); - if(!$this->parent->$sql->gen("SELECT user_id,user_name,user_join FROM #user WHERE ".$qry)) + if(!$this->parent->e107->sql->gen("SELECT user_id,user_name,user_join FROM #user WHERE ".$qry)) { $list_data = LIST_MEMBER_2; } else { - while($row = $this->parent->$sql->fetch()) + while($row = $this->parent->e107->sql->fetch()) { $record = array(); $rowheading = $this->parent->parse_heading($row['user_name']);