Define "Packages.SubmitterUID" and "Packages.MaintainerUID" as "NULL".

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2011-02-27 17:12:43 +01:00
parent 84c2491e63
commit 1e3fa38de5
8 changed files with 20 additions and 10 deletions

View file

@ -339,7 +339,7 @@ function can_submit_pkg($name="", $sid="") {
if ($row[1] == "1") { return 1; }
$my_uid = uid_from_sid($sid);
if (!$row[0] || $row[0] == $my_uid) {
if ($row[0] === NULL || $row[0] == $my_uid) {
return 1;
}