diff options
author | Ian C <ianc@noddybox.co.uk> | 2018-07-11 17:34:10 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2018-07-11 17:34:10 +0000 |
commit | aa1c61a18bdc7e686f0c755570178317b1533836 (patch) | |
tree | 10dafc6be9d5fab7f36a44b0e1dd8623876412d5 | |
parent | 62d926e022aaf35be029f20568e55533caee3bf7 (diff) |
Added default value for display column.
-rw-r--r-- | www/add.php | 6 |
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); |