mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 20:51:53 +02:00
EONE-98 (bug): Fix DB table name; thanks Luceos
This commit is contained in:
parent
482c546763
commit
dc1055cc07
@ -851,7 +851,7 @@ class user_class
|
||||
$ret = array();
|
||||
if ($includeAncestors) $classList = $this->get_all_user_classes($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))
|
||||
{
|
||||
while ($row = $this->sql_r->db_Fetch(MYSQL_ASSOC))
|
||||
|
Loading…
x
Reference in New Issue
Block a user