summaryrefslogtreecommitdiffstats
path: root/web/template/actions_form.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/template/actions_form.php')
-rw-r--r--web/template/actions_form.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/actions_form.php b/web/template/actions_form.php
index 41d8df9..5eab234 100644
--- a/web/template/actions_form.php
+++ b/web/template/actions_form.php
@@ -35,7 +35,7 @@ if ($row["OutOfDateTS"] === NULL) {
echo " value='".__("UnFlag Out-of-date")."'>\n";
}
-if ($row["MaintainerUID"] == 0) {
+if ($row["MaintainerUID"] === NULL) {
echo "<input type='submit' class='button' name='do_Adopt'";
echo " value='".__("Adopt Packages")."'>\n";
} else if ($uid == $row["MaintainerUID"] ||