diff options
Diffstat (limited to 'web/html')
-rw-r--r-- | web/html/pkgsubmit.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php index 6accce6..070de6e 100644 --- a/web/html/pkgsubmit.php +++ b/web/html/pkgsubmit.php @@ -344,6 +344,9 @@ if ($_COOKIE["AURSID"]) { $q.= "DummyPkg = 0, "; $q.= "SubmitterUID = ".uid_from_sid($_COOKIE["AURSID"]).", "; $q.= "MaintainerUID = ".uid_from_sid($_COOKIE["AURSID"]).", "; + $q.= "SubmittedTS = UNIX_TIMESTAMP(), "; + } else { + $q.="ModifiedTS = UNIX_TIMESTAMP(), "; } $q.="Name='".mysql_escape_string($new_pkgbuild['pkgname'])."', "; $q.="Version='".mysql_escape_string($new_pkgbuild['pkgver'])."-". |