Fix: debug multicompany
This commit is contained in:
parent
51b1a6a14d
commit
2ec4378205
@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
|
* Copyright (C) 2010-2011 Regis Houssin <regis@dolibarr.fr>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -193,8 +194,9 @@ if ($_GET["socid"])
|
|||||||
$title=$langs->trans("ListOfUsers");
|
$title=$langs->trans("ListOfUsers");
|
||||||
|
|
||||||
$sql = "SELECT u.rowid, u.name, u.firstname, u.login";
|
$sql = "SELECT u.rowid, u.name, u.firstname, u.login";
|
||||||
$sql .= " FROM ".MAIN_DB_PREFIX."user as u";
|
$sql.= " FROM ".MAIN_DB_PREFIX."user as u";
|
||||||
$sql .= " ORDER BY u.name ASC ";
|
$sql.= " WHERE u.entity IN (0,".$conf->entity.")";
|
||||||
|
$sql.= " ORDER BY u.name ASC ";
|
||||||
|
|
||||||
$resql = $db->query($sql);
|
$resql = $db->query($sql);
|
||||||
if ($resql)
|
if ($resql)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user