diff options
Diffstat (limited to 'www/edit.php')
-rw-r--r-- | www/edit.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/www/edit.php b/www/edit.php index 9e78e88..7bcd604 100644 --- a/www/edit.php +++ b/www/edit.php @@ -29,15 +29,18 @@ try $id = $_REQUEST["id"]; $description = $_REQUEST["description"]; + $group = $_REQUEST["group"]; $username = $_REQUEST["username"]; $password = $_REQUEST["password"]; $cmd = $db->prepare("UPDATE pm_store " . "set description=:description, " . + "groupname=:group, " . "username=:username, " . "password=:password where id = :id"); $cmd->bindParam(":id", $id); $cmd->bindParam(":description", $description); + $cmd->bindParam(":group", $group); $cmd->bindParam(":username", $username); $cmd->bindParam(":password", $password); $cmd->execute(); |