summaryrefslogtreecommitdiffstats
path: root/web/html/pkgsubmit.php
diff options
context:
space:
mode:
authoreric <eric>2005-03-05 20:39:36 +0000
committereric <eric>2005-03-05 20:39:36 +0000
commitaae43d9ad6fc83d04a4975f27392c1422dfa0ec4 (patch)
treeaacdeb67fd388fec026dc4dfde343d8e8e32b5b1 /web/html/pkgsubmit.php
parent93ac7cb91db74b6043f0aeb54a548f9a5560a15e (diff)
downloadaurweb-aae43d9ad6fc83d04a4975f27392c1422dfa0ec4.tar.xz
started working on package comments
Diffstat (limited to 'web/html/pkgsubmit.php')
-rw-r--r--web/html/pkgsubmit.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php
index ccf1df7..d679704 100644
--- a/web/html/pkgsubmit.php
+++ b/web/html/pkgsubmit.php
@@ -371,8 +371,8 @@ if ($_COOKIE["AURSID"]) {
# add upload history
#
- $q = "INSERT INTO PackageUploadHistory ";
- $q.= "(PackageID, UsersID, Comments, UploadTS) VALUES (";
+ $q = "INSERT INTO PackageComments ";
+ $q.= "(PackageID, UsersID, Comments, CommentTS) VALUES (";
$q.= $pdata["ID"] . ", " . uid_from_sid($_COOKIE['AURSID']);
$q.= ", '" . mysql_escape_string($_REQUEST["comments"]);
$q.= "', UNIX_TIMESTAMP())";
@@ -434,8 +434,8 @@ if ($_COOKIE["AURSID"]) {
# add upload history
#
- $q = "INSERT INTO PackageUploadHistory ";
- $q.= "(PackageID, UsersID, Comments, UploadTS) VALUES (";
+ $q = "INSERT INTO PackageComments ";
+ $q.= "(PackageID, UsersID, Comments, CommentTS) VALUES (";
$q.= $packageID . ", " . uid_from_sid($_COOKIE["AURSID"]) . ", '";
$q.= mysql_escape_string($_REQUEST["comments"]);
$q.= "', UNIX_TIMESTAMP())";