diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-08-06 00:08:46 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-08-06 00:09:05 +0200 |
commit | 0613a637b39420deb0b34c8831aa2c31fa63ee7f (patch) | |
tree | 73c2f1f10d0a3242535473138a5aaba0a7f0eca6 /web/html | |
parent | 237a4570e2a2bbfd39520886f56c5240e6ed4bec (diff) | |
download | aur-0613a637b39420deb0b34c8831aa2c31fa63ee7f.tar.gz aur-0613a637b39420deb0b34c8831aa2c31fa63ee7f.tar.xz |
Fix notification handling on submission and adoption
Automatically add users to the notification list when adopting a
package. This used to work bug was broken by 03c6304 (Rework permission
handling, 2014-07-15). Fixes FS#41426.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/html')
-rw-r--r-- | web/html/pkgsubmit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php index 8a48df2a..a11fb5b0 100644 --- a/web/html/pkgsubmit.php +++ b/web/html/pkgsubmit.php @@ -380,7 +380,7 @@ if ($uid): * notification list. */ if ($was_orphan) { - pkgbase_notify(account_from_sid($_COOKIE["AURSID"]), array($base_id), true); + pkgbase_notify(array($base_id), true); } end_atomic_commit(); |