Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1:/tmp/cvs-serv28537
Modified Files:
comment.php
Log Message:
Redirect back to the actual page, not the popup
Index: comment.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/comment.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- comment.php 8 Jul 2003 14:40:00 -0000 1.16
+++ comment.php 18 Jul 2003 18:26:43 -0000 1.17
@@ -106,7 +106,7 @@
printf(
COMMENT_ADDED,
- '<a href="' . $_SERVER['PHP_SELF'] . '?serendipity[entry_id]=' . $serendipity['POST']['entry_id'] . '">',
+ '<a href="' . $_SERVER['HTTP_REFERER'] . '">',
'</a>',
'<a href="#" onclick="self.close()">',
'</a>'
|