summaryrefslogtreecommitdiff
path: root/www/add.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/add.php')
-rw-r--r--www/add.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/add.php b/www/add.php
index e5c1a18..517d724 100644
--- a/www/add.php
+++ b/www/add.php
@@ -33,9 +33,9 @@ try
$password = $_REQUEST["password"];
$cmd = $db->prepare("INSERT INTO pm_store " .
- "(description, groupname, username, password) ".
- "VALUES " .
- "(:description, :group, :username, :password)");
+ "(description, groupname, username, password, display)".
+ " VALUES " .
+ "(:description, :group, :username, :password, 0)");
$cmd->bindParam(":description", $description);
$cmd->bindParam(":group", $group);
$cmd->bindParam(":username", $username);