summaryrefslogtreecommitdiffstats
path: root/web/html/account.php
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-06-22 23:24:24 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2016-06-25 13:55:34 +0200
commita2a888625eb3c3dc353e2ef55e6fcbe054ab582f (patch)
tree0779e9d452aa0f890f9c2a67a52d656f78baa282 /web/html/account.php
parente3670ef1888a3f030452b229e8d48b83bb83b240 (diff)
downloadaur-a2a888625eb3c3dc353e2ef55e6fcbe054ab582f.tar.gz
aur-a2a888625eb3c3dc353e2ef55e6fcbe054ab582f.tar.xz
Add missing database and account fields
Commits 6ec4a35 (Send notifications when changing ownership, 2016-02-21) and e3670ef (Add a homepage field to accounts, 2016-06-02) forgot to change some usages of display_account_form() and process_account_form() to account for the new parameter. The former also forgot to add the new column to the database schema. Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/html/account.php')
-rw-r--r--web/html/account.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/web/html/account.php b/web/html/account.php
index 8d92b2c3..2892f046 100644
--- a/web/html/account.php
+++ b/web/html/account.php
@@ -34,9 +34,10 @@ if ($action == "UpdateAccount") {
in_request("U"), in_request("T"), in_request("S"),
in_request("E"), in_request("H"), in_request("P"),
in_request("C"), in_request("R"), in_request("L"),
- in_request("I"), in_request("K"), in_request("PK"),
- in_request("J"), in_request("CN"), in_request("UN"),
- in_request("ID"), $row["Username"]);
+ in_request("HP"), in_request("I"), in_request("K"),
+ in_request("PK"), in_request("J"), in_request("CN"),
+ in_request("UN"), in_request("ON"), in_request("ID"),
+ $row["Username"]);
}
}
@@ -95,6 +96,7 @@ if (isset($_COOKIE["AURSID"])) {
$row["InactivityTS"] ? 1 : 0,
$row["CommentNotify"],
$row["UpdateNotify"],
+ $row["OwnershipNotify"],
$row["ID"],
$row["Username"]);
} else {
@@ -146,6 +148,7 @@ if (isset($_COOKIE["AURSID"])) {
in_request("J"),
in_request("CN"),
in_request("UN"),
+ in_request("ON"),
in_request("ID"),
$row["Username"]);
}