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 d42e57e..c41fafc 100644
--- a/www/get.php
+++ b/www/get.php
@@ -29,7 +29,7 @@ try
$index = 0;
- foreach ($db->query("SELECT * FROM pm_store ORDER BY id") as $row)
+ foreach ($db->query("SELECT * FROM pm_store ORDER BY display") as $row)
{
$data = array();
$data["id"] = $row["id"];
@@ -37,6 +37,7 @@ try
$data["group"] = $row["groupname"];
$data["username"] = $row["username"];
$data["password"] = $row["password"];
+ $data["display"] = $row["display"];
$result[$index++] = $data;
}