From: Martín Marrese Date: Mon, 8 Mar 2004 21:31:45 +0000 (+0000) Subject: BugFix en SAMURAI_Usuario::getUsuariosPager. X-Git-Tag: svn_import~21 X-Git-Url: https://git.llucax.com/mecon/samurai.git/commitdiff_plain/ce8c82238fa511d1a2523e67cca4d76b4a66a4a0 BugFix en SAMURAI_Usuario::getUsuariosPager. --- diff --git a/lib/SAMURAI/Usuario.php b/lib/SAMURAI/Usuario.php index de0e79c..28a2755 100644 --- a/lib/SAMURAI/Usuario.php +++ b/lib/SAMURAI/Usuario.php @@ -555,16 +555,16 @@ class SAMURAI_Usuario { if ($id_sistema) { $sql = ' SELECT DISTINCT u.login, u.nombre - FROM samurai.usuario AS u, perfil_sist_usuario AS psu + FROM usuario.Usuario AS u, perfil_sist_usuario AS psu WHERE u.login = psu.login AND psu.id_sistema = '. $id_sistema .' - ORDER BY login; + ORDER BY login '; } else { $sql = ' SELECT login, nombre - FROM samurai.usuario + FROM usuario.Usuario ORDER BY login '; }