X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/3608c37d4d11ce577e26c58a81d127c860b6d08f..d942f04e0f9c142a0a75da12787b06adf310f250:/lib/MECON/Usuario.php?ds=sidebyside diff --git a/lib/MECON/Usuario.php b/lib/MECON/Usuario.php index f906b9f..57095fb 100644 --- a/lib/MECON/Usuario.php +++ b/lib/MECON/Usuario.php @@ -317,7 +317,8 @@ class MECON_Usuario { else { $sql.= ' u.nombre LIKE \'%'.$nombre.'%\''; } - + $sql.= 'ORDER BY u.login'; + $db->setFetchMode(DB_FETCHMODE_ASSOC); $result = $db->query($sql); return $result;