FIX missing global $user
This commit is contained in:
parent
41a82023e3
commit
740fddcd42
@ -3211,7 +3211,7 @@ class User extends CommonObject
|
|||||||
*/
|
*/
|
||||||
function fetchAll($sortorder='', $sortfield='', $limit=0, $offset=0, $filter=array(), $filtermode='AND', $entityfilter=false)
|
function fetchAll($sortorder='', $sortfield='', $limit=0, $offset=0, $filter=array(), $filtermode='AND', $entityfilter=false)
|
||||||
{
|
{
|
||||||
global $conf;
|
global $conf, $user;
|
||||||
|
|
||||||
$sql="SELECT t.rowid";
|
$sql="SELECT t.rowid";
|
||||||
$sql.= ' FROM '.MAIN_DB_PREFIX .$this->table_element.' as t ';
|
$sql.= ' FROM '.MAIN_DB_PREFIX .$this->table_element.' as t ';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user