summaryrefslogtreecommitdiffstats
path: root/web/lib
diff options
context:
space:
mode:
Diffstat (limited to 'web/lib')
-rw-r--r--web/lib/aur.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/aur.inc b/web/lib/aur.inc
index 835b8a85..5a60c4c6 100644
--- a/web/lib/aur.inc
+++ b/web/lib/aur.inc
@@ -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] == $my_uid) {
+ if (!$row[0] || $row[0] == $my_uid) {
return 1;
}