X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/d34ddd26515d445d75d647c9d31b3949c4bda51c..325ae567c29fec68d2be78712b3d85b2dc41a9e8:/lib/SAMURAI/Usuario.php?ds=sidebyside diff --git a/lib/SAMURAI/Usuario.php b/lib/SAMURAI/Usuario.php index de0e79c..df6c943 100644 --- a/lib/SAMURAI/Usuario.php +++ b/lib/SAMURAI/Usuario.php @@ -319,7 +319,7 @@ class SAMURAI_Usuario { * @return mixed * @access public */ - function guardarDatos($accion = grabar) // ~X2C + function guardarDatos($accion = 'grabar') // ~X2C { $accion = strtolower($accion); switch ($accion) { @@ -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 '; }