summaryrefslogtreecommitdiffstats
path: root/web/html
diff options
context:
space:
mode:
authorCallan Barrett <wizzomafizzo@gmail.com>2008-05-05 01:44:43 +0800
committerCallan Barrett <wizzomafizzo@gmail.com>2008-06-07 18:30:38 +0800
commit9dad329b6ae80d9a52a0509673ef7d8a3f84b8e3 (patch)
treee57ca81d081cb32c794b25e0236d52f8b598d510 /web/html
parentbf5029ad8a50c054a8bf80e87879ff9318fa6a36 (diff)
downloadaurweb-9dad329b6ae80d9a52a0509673ef7d8a3f84b8e3.tar.xz
Unmark out-of-date on update
What it says in the title Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
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 1e5a134..ae5b93a 100644
--- a/web/html/pkgsubmit.php
+++ b/web/html/pkgsubmit.php
@@ -375,6 +375,7 @@ if ($_COOKIE["AURSID"]) {
$fspath=INCOMING_DIR.$pkg_name."/".$_FILES["pfile"]["name"];
$q.="FSPath='".mysql_real_escape_string($fspath)."', ";
$urlpath=URL_DIR.$pkg_name."/".$_FILES["pfile"]["name"];
+ $q.="OutOfDate=0, ";
$q.="URLPath='".mysql_real_escape_string($urlpath)."' ";
$q.="WHERE ID = " . $pdata["ID"];
$result = db_query($q, $dbh);