summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCallan Barrett <wizzomafizzo@gmail.com>2008-05-04 19:44:43 +0200
committerCallan Barrett <wizzomafizzo@gmail.com>2008-06-07 12:30:38 +0200
commit9dad329b6ae80d9a52a0509673ef7d8a3f84b8e3 (patch)
treee57ca81d081cb32c794b25e0236d52f8b598d510
parentbf5029ad8a50c054a8bf80e87879ff9318fa6a36 (diff)
downloadaur-9dad329b6ae80d9a52a0509673ef7d8a3f84b8e3.tar.gz
aur-9dad329b6ae80d9a52a0509673ef7d8a3f84b8e3.tar.xz
Unmark out-of-date on update
What it says in the title Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
-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 1e5a1343..ae5b93a5 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);