mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Unmark out-of-date on update
What it says in the title Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
This commit is contained in:
parent
bf5029ad8a
commit
9dad329b6a
1 changed files with 1 additions and 0 deletions
|
@ -375,6 +375,7 @@ if ($_COOKIE["AURSID"]) {
|
||||||
$fspath=INCOMING_DIR.$pkg_name."/".$_FILES["pfile"]["name"];
|
$fspath=INCOMING_DIR.$pkg_name."/".$_FILES["pfile"]["name"];
|
||||||
$q.="FSPath='".mysql_real_escape_string($fspath)."', ";
|
$q.="FSPath='".mysql_real_escape_string($fspath)."', ";
|
||||||
$urlpath=URL_DIR.$pkg_name."/".$_FILES["pfile"]["name"];
|
$urlpath=URL_DIR.$pkg_name."/".$_FILES["pfile"]["name"];
|
||||||
|
$q.="OutOfDate=0, ";
|
||||||
$q.="URLPath='".mysql_real_escape_string($urlpath)."' ";
|
$q.="URLPath='".mysql_real_escape_string($urlpath)."' ";
|
||||||
$q.="WHERE ID = " . $pdata["ID"];
|
$q.="WHERE ID = " . $pdata["ID"];
|
||||||
$result = db_query($q, $dbh);
|
$result = db_query($q, $dbh);
|
||||||
|
|
Loading…
Add table
Reference in a new issue