X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/d34ddd26515d445d75d647c9d31b3949c4bda51c..698ca0ba3178e27141c4d03c943f085c13107d39:/lib/SAMURAI/Usuario.php?ds=inline 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 '; }