Bug 279365 Link to "authorprofiles" instead of "authorprofiles.php" in Comments Manager

Patch by Alex Sirota <alex@elbrus.com>, r=alanjstr


git-svn-id: svn://10.0.0.236/trunk@168200 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cst%andrew.cmu.edu 2005-01-23 19:56:09 +00:00
parent 9cdd888444
commit 6ab78e7dd8

View File

@ -262,7 +262,7 @@ echo"<h2>Submitting Comment, please wait...</h2>\n";
$type="themes";
}
$name = "<a href=\"/$type/authorprofiles?id=$_SESSION[uid]\">$_SESSION[name]</a>";
$name = "<a href=\"/$type/authorprofiles.php?id=$_SESSION[uid]\">$_SESSION[name]</a>";
$sql = "INSERT INTO `feedback` (`ID`, `CommentName`, `CommentVote`, `CommentTitle`, `CommentNote`, `CommentDate`, `commentip`) VALUES ('$id', '$name', NULL, '$title', '$comments', NOW(NULL), '$_SERVER[REMOTE_ADDR]');";
$sql_result = mysql_query($sql, $connection) or trigger_error("MySQL Error ".mysql_errno().": ".mysql_error()."", E_USER_NOTICE);