From 2adb3ced7ff29ae55dc20af0ea070e093279b1da Mon Sep 17 00:00:00 2001 From: Olivier Berten Date: Mon, 10 Mar 2014 18:10:46 +0100 Subject: [PATCH] Bugfix --- chant_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);