diff options
author | simo <simo> | 2005-09-25 18:55:50 +0200 |
---|---|---|
committer | simo <simo> | 2005-09-25 18:55:50 +0200 |
commit | 61a99b030ee149898517924f090c7a0f9b6f67a4 (patch) | |
tree | 9fcda6f8db2fcc27e53afed2bf131dde312bb61f /web/html/packages.php | |
parent | 63a0a0532033b79f541f59ac1152b747f5760d75 (diff) | |
download | aur-61a99b030ee149898517924f090c7a0f9b6f67a4.tar.gz aur-61a99b030ee149898517924f090c7a0f9b6f67a4.tar.xz |
#3102 Regular users may only adopt from unsupported
Diffstat (limited to 'web/html/packages.php')
-rw-r--r-- | web/html/packages.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/web/html/packages.php b/web/html/packages.php index 28eae28f..c02347f5 100644 --- a/web/html/packages.php +++ b/web/html/packages.php @@ -310,7 +310,10 @@ if (isset($_REQUEST["do_Flag"])) { $q.= "WHERE ID IN (" . $adopt . ") "; if ($atype == "User") { + # Regular users may only adopt orphan packages from unsupported + # FIXME: We assume that LocationID for unsupported is "2" $q.= "AND ".$field." = 0"; + $q.= " AND LocationID = 2"; } db_query($q, $dbh); } |