[geeklog-cvs] geeklog-1.3/public_html comment.php,1.44.2.1,1.44.2.2
dhaun at geeklog.net
dhaun at geeklog.net
Sun Dec 7 05:02:55 EST 2003
Update of /usr/cvs/geeklog/geeklog-1.3/public_html
In directory geeklog_prod:/tmp/cvs-serv18315
Modified Files:
Tag: geeklog_1_3_8_1_1
comment.php
Log Message:
Fixed comment posting (second attempt without the debug output ...).
Index: comment.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/comment.php,v
retrieving revision 1.44.2.1
retrieving revision 1.44.2.2
diff -C2 -d -r1.44.2.1 -r1.44.2.2
*** comment.php 5 Dec 2003 19:33:12 -0000 1.44.2.1
--- comment.php 7 Dec 2003 10:02:53 -0000 1.44.2.2
***************
*** 225,233 ****
function savecomment($uid,$title,$comment,$sid,$pid,$type,$postmode)
{
! global $_TABLES, $_CONF, $LANG03, $REMOTE_ADDR;
$retval = '';
! if(($uid == 0) || ($uid != $_USER['uid']) ||
(empty ($_USER['username']) && (($_CONF['loginrequired'] == 1) ||
($_CONF['commentsloginrequired'] == 1)))) {
--- 225,233 ----
function savecomment($uid,$title,$comment,$sid,$pid,$type,$postmode)
{
! global $_CONF, $_TABLES, $_USER, $LANG03, $REMOTE_ADDR;
$retval = '';
! if (($uid < 1) || (($uid != $_USER['uid']) && !empty ($_USER['username'])) ||
(empty ($_USER['username']) && (($_CONF['loginrequired'] == 1) ||
($_CONF['commentsloginrequired'] == 1)))) {
More information about the geeklog-cvs
mailing list