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