From 9dad329b6ae80d9a52a0509673ef7d8a3f84b8e3 Mon Sep 17 00:00:00 2001 From: Callan Barrett Date: Mon, 5 May 2008 01:44:43 +0800 Subject: Unmark out-of-date on update What it says in the title Signed-off-by: Callan Barrett --- web/html/pkgsubmit.php | 1 + 1 file changed, 1 insertion(+) (limited to 'web/html') 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); -- cgit v1.2.3-54-g00ecf