From 373cae0f63518ce677613d4d71fab2d35ad12bc6 Mon Sep 17 00:00:00 2001
From: Callan Barrett <wizzomafizzo@gmail.com>
Date: Mon, 5 May 2008 01:44:43 +0800
Subject: [PATCH] Umark out-of-date on update

What it says in the title

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
---
 web/html/pkgsubmit.php |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php
index 1b74ce7..24327e2 100644
--- a/web/html/pkgsubmit.php
+++ b/web/html/pkgsubmit.php
@@ -369,6 +369,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);
-- 
1.5.3.8

