diff --git a/chant_edit.php b/chant_edit.php index 3c43cff..60e501e 100644 --- a/chant_edit.php +++ b/chant_edit.php @@ -34,7 +34,7 @@ while ($t = $req->fetch_assoc()) { $sql1 = 'SELECT * FROM '.db('tags').' WHERE id = '.$t['tag_id']; $req1 = $mysqli->query($sql1) or die('Erreur SQL !
'.$sql1.'
'.$mysqli->error); $tt = $req1->fetch_assoc(); - $tags[$tt['id']] = $tt['tag']; + $tags[] = $tt['tag']; } natcasesort($tags);