Skip to content

Commit

Permalink
FIX missing global $user
Browse files Browse the repository at this point in the history
  • Loading branch information
hregis committed Apr 24, 2019
1 parent 41a8202 commit 740fddc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/user/class/user.class.php
Expand Up @@ -3211,7 +3211,7 @@ function user_get_property($rowid,$mode)
*/
function fetchAll($sortorder='', $sortfield='', $limit=0, $offset=0, $filter=array(), $filtermode='AND', $entityfilter=false)
{
global $conf;
global $conf, $user;

$sql="SELECT t.rowid";
$sql.= ' FROM '.MAIN_DB_PREFIX .$this->table_element.' as t ';
Expand Down

0 comments on commit 740fddc

Please sign in to comment.