From aae43d9ad6fc83d04a4975f27392c1422dfa0ec4 Mon Sep 17 00:00:00 2001 From: eric Date: Sat, 5 Mar 2005 20:39:36 +0000 Subject: started working on package comments --- web/html/pkgsubmit.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'web/html/pkgsubmit.php') diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php index ccf1df7a..d6797048 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())"; -- cgit v1.2.3-24-g4f1b