summaryrefslogtreecommitdiffstats
path: root/web/html/pkgsubmit.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2011-02-27 17:12:43 +0100
committerLukas Fleischer <archlinux@cryptocrack.de>2011-02-27 19:46:19 +0100
commit1e3fa38de5f940fef474fc3961c70b357b976308 (patch)
tree3474eadc3354f5312f245425deb9a2bf1fe64114 /web/html/pkgsubmit.php
parent84c2491e63ef2797084f9378674d3e38248b7c24 (diff)
downloadaurweb-1e3fa38de5f940fef474fc3961c70b357b976308.tar.xz
Define "Packages.SubmitterUID" and "Packages.MaintainerUID" as "NULL".
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/html/pkgsubmit.php')
-rw-r--r--web/html/pkgsubmit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php
index 246dc90..edffbfa 100644
--- a/web/html/pkgsubmit.php
+++ b/web/html/pkgsubmit.php
@@ -344,7 +344,7 @@ if ($_COOKIE["AURSID"]):
}
}
- if (!$pdata["MaintainerUID"]) pkg_notify(account_from_sid($_COOKIE["AURSID"]), array($pdata["ID"]));
+ if ($pdata["MaintainerUID"] === NULL) pkg_notify(account_from_sid($_COOKIE["AURSID"]), array($pdata["ID"]));
header('Location: packages.php?ID=' . $pdata['ID']);