# HG changeset patch # User Matti Hamalainen # Date 1416491228 -7200 # Node ID 06e3469fe480e585bf5c216690d2bccdb1dc4009 # Parent 9fa68b35b90ab7637dae9a4e52577f30bfa5dc6e Cosmetics. diff -r 9fa68b35b90a -r 06e3469fe480 admajax.php --- a/admajax.php Thu Nov 20 15:45:19 2014 +0200 +++ b/admajax.php Thu Nov 20 15:47:08 2014 +0200 @@ -264,7 +264,7 @@ "
". "Compo". stGetFormOptionListStart($prefix."compo_id".$eid, " ", TRUE, 0); - + foreach (stExecSQL($sql) as $cdata) { echo stGetFormOptionListItem(" ", @@ -1515,9 +1515,11 @@ ), 0, TRUE, "ne", $compo, EEMODE_ADD); echo "
\n"; + $row = 0; foreach (stExecSQL("SELECT * FROM entries WHERE compo_id=".$id." ORDER BY id ASC") as $entry) stPrintEntryItemData($entry, $row++, TRUE, "en", $compo, EEMODE_NORMAL); + echo "
\n"; } break;