From: Martín Marrese Date: Mon, 29 Sep 2003 21:54:07 +0000 (+0000) Subject: BugFix X-Git-Tag: svn_import~248 X-Git-Url: https://git.llucax.com/mecon/meconlib.git/commitdiff_plain/903697c607339c38117b876b79c5450ad32ed0ca?ds=sidebyside BugFix --- 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;