[geeklog-cvs] geeklog-1.3/public_html comment.php,1.81,1.82
vinny at iowaoutdoors.org
vinny at iowaoutdoors.org
Sat Oct 30 23:04:41 EDT 2004
Update of /var/cvs/geeklog-1.3/public_html
In directory www:/tmp/cvs-serv27241
Modified Files:
comment.php
Log Message:
Fixed incorrect variable 'grab' for handling of plugin comments.
Index: comment.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/comment.php,v
retrieving revision 1.81
retrieving revision 1.82
diff -C2 -d -r1.81 -r1.82
*** comment.php 26 Oct 2004 02:03:13 -0000 1.81
--- comment.php 31 Oct 2004 03:04:39 -0000 1.82
***************
*** 881,892 ****
if (isset ($HTTP_POST_VARS['cid'])) {
$cid = COM_applyFilter ($HTTP_POST_VARS['cid']);
- $format = COM_applyFilter ($HTTP_POST_VARS['cid']);
- $order = COM_applyFilter ($HTTP_POST_VARS['cid']);
- $reply = COM_applyFilter ($HTTP_POST_VARS['reply']);
- } else {
- $cid = COM_applyFilter ($HTTP_GET_VARS['cid']);
$format = COM_applyFilter ($HTTP_POST_VARS['format']);
$order = COM_applyFilter ($HTTP_POST_VARS['order']);
$reply = COM_applyFilter ($HTTP_POST_VARS['reply']);
}
if (!empty ($type) && !empty ($cid)) {
--- 881,894 ----
if (isset ($HTTP_POST_VARS['cid'])) {
$cid = COM_applyFilter ($HTTP_POST_VARS['cid']);
$format = COM_applyFilter ($HTTP_POST_VARS['format']);
$order = COM_applyFilter ($HTTP_POST_VARS['order']);
$reply = COM_applyFilter ($HTTP_POST_VARS['reply']);
+ $type = COM_applyFilter ($HTTP_POST_VARS['type']);
+ } else {
+ $cid = COM_applyFilter ($HTTP_GET_VARS['cid']);
+ $format = COM_applyFilter ($HTTP_GET_VARS['format']);
+ $order = COM_applyFilter ($HTTP_GET_VARS['order']);
+ $reply = COM_applyFilter ($HTTP_GET_VARS['reply']);
+ $type = COM_applyFilter ($HTTP_GET_VARS['type']);
}
if (!empty ($type) && !empty ($cid)) {
More information about the geeklog-cvs
mailing list