summaryrefslogtreecommitdiffstats
path: root/web/html
diff options
context:
space:
mode:
authorpjmattal <pjmattal>2005-04-14 03:28:56 +0000
committerpjmattal <pjmattal>2005-04-14 03:28:56 +0000
commit890e26ca23be2a1a94bca4a803e074806a0228a1 (patch)
treeba0e5f2a6175b8b5a2c3f6d6d6b4b303b37e9b27 /web/html
parentf748d9a4718b928223f45873c2e6627beb33843b (diff)
downloadaurweb-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
Diffstat (limited to 'web/html')
-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 840ff30..ed2fb08 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'])."',";