summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpjmattal <pjmattal>2005-04-14 05:28:56 +0200
committerpjmattal <pjmattal>2005-04-14 05:28:56 +0200
commit890e26ca23be2a1a94bca4a803e074806a0228a1 (patch)
treeba0e5f2a6175b8b5a2c3f6d6d6b4b303b37e9b27
parentf748d9a4718b928223f45873c2e6627beb33843b (diff)
downloadaur-890e26ca23be2a1a94bca4a803e074806a0228a1.tar.gz
aur-890e26ca23be2a1a94bca4a803e074806a0228a1.tar.xz
fixed bug where if uploaded package overlapped with old Dummy, Dummy bit was not unset and so the package never appeared in the interface
-rw-r--r--web/html/pkgsubmit.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php
index 840ff306..ed2fb086 100644
--- a/web/html/pkgsubmit.php
+++ b/web/html/pkgsubmit.php
@@ -329,6 +329,7 @@ if ($_COOKIE["AURSID"]) {
# update package data
#
$q = "UPDATE Packages SET ";
+ $q.= "DummyPkg = 0, ";
$q.="Name='".mysql_escape_string($new_pkgbuild['pkgname'])."', ";
$q.="Version='".mysql_escape_string($new_pkgbuild['pkgver'])."-".
mysql_escape_string($new_pkgbuild['pkgrel'])."',";