From e4d77a031a9b4f3ba2e2cc0a86a76e4a63289f10 Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 2 May 2013 13:33:16 -0700 Subject: [PATCH] Issue #199 - untested, but should fix it. --- e107_plugins/list_new/section/list_members.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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']);