Mercurial > hg > fapweb
changeset 251:1953d5025531
Alter the JSON format of the compo data list.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 24 Nov 2013 01:23:58 +0200 |
parents | 34f540cea1ff |
children | 35ce3e593195 |
files | admajax.php |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/admajax.php Sun Nov 24 00:28:20 2013 +0200 +++ b/admajax.php Sun Nov 24 01:23:58 2013 +0200 @@ -280,7 +280,7 @@ foreach (stExecSQL("SELECT * FROM compos") as $compo) { if ($index++ > 0) echo ","; - echo "\"Compo".$compo["id"]."\":\"".chentities($compo["name"])."\""; + echo "\"".$compo["id"]."\":\"".chentities($compo["name"])."\""; } break;