mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
EONE-98 (bug): Fix DB table name; thanks Luceos
This commit is contained in:
@@ -851,7 +851,7 @@ class user_class
|
|||||||
$ret = array();
|
$ret = array();
|
||||||
if ($includeAncestors) $classList = $this->get_all_user_classes($classList);
|
if ($includeAncestors) $classList = $this->get_all_user_classes($classList);
|
||||||
$class_regex = "(^|,)(".str_replace(' ','',str_replace(",", "|", $classList)).")(,|$)";
|
$class_regex = "(^|,)(".str_replace(' ','',str_replace(",", "|", $classList)).")(,|$)";
|
||||||
$qry = "SELECT 'user_id,{$fieldList}' FROM `user` WHERE user_class REGEXP '{$class_regex}' ORDER BY '{$orderBy}'";
|
$qry = "SELECT 'user_id,{$fieldList}' FROM `#user` WHERE user_class REGEXP '{$class_regex}' ORDER BY '{$orderBy}'";
|
||||||
if ($this->sql_r->db_Select_gen($qry))
|
if ($this->sql_r->db_Select_gen($qry))
|
||||||
{
|
{
|
||||||
while ($row = $this->sql_r->db_Fetch(MYSQL_ASSOC))
|
while ($row = $this->sql_r->db_Fetch(MYSQL_ASSOC))
|
||||||
|
Reference in New Issue
Block a user