diff --git a/htdocs/compta/bank/account.php b/htdocs/compta/bank/account.php index c214cb5f8b0..316f5bee1c1 100644 --- a/htdocs/compta/bank/account.php +++ b/htdocs/compta/bank/account.php @@ -105,9 +105,12 @@ if ($account > 0) $acct = new Account($db); $acct->fetch($account); - // Chargement des categories dans $options + // Chargement des categories bancaires dans $options $nbcategories=0; - $sql = "SELECT rowid, label FROM ".MAIN_DB_PREFIX."bank_categ;"; + $sql = "SELECT rowid, label"; + $sql.= " FROM ".MAIN_DB_PREFIX."bank_categ"; + $sql.= " ORDER BY label"; + $result = $db->query($sql); if ($result) {