summaryrefslogtreecommitdiff
path: root/www/get.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/get.php')
-rw-r--r--www/get.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/get.php b/www/get.php
index 268bf5b..d42e57e 100644
--- a/www/get.php
+++ b/www/get.php
@@ -29,11 +29,12 @@ try
$index = 0;
- foreach ($db->query("SELECT * FROM pm_store") as $row)
+ foreach ($db->query("SELECT * FROM pm_store ORDER BY id") as $row)
{
$data = array();
$data["id"] = $row["id"];
$data["description"] = $row["description"];
+ $data["group"] = $row["groupname"];
$data["username"] = $row["username"];
$data["password"] = $row["password"];