[geeklog-cvs] geeklog-1.3/public_html comment.php,1.48,1.49
dhaun at geeklog.net
dhaun at geeklog.net
Mon Dec 22 15:34:36 EST 2003
Update of /usr/cvs/geeklog/geeklog-1.3/public_html
In directory geeklog_prod:/tmp/cvs-serv28315
Modified Files:
comment.php
Log Message:
Synced code for permission check with 1.3.8-1sr3 (shouldn't make a difference).
Index: comment.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/comment.php,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -d -r1.48 -r1.49
*** comment.php 5 Dec 2003 13:32:43 -0000 1.48
--- comment.php 22 Dec 2003 20:34:34 -0000 1.49
***************
*** 237,243 ****
if (empty ($sid) || empty ($title) || empty ($comment) || empty ($type) ||
! ($uid == 0) || ($uid != $_USER['uid']) ||
! (empty ($_USER['username']) && (($_CONF['loginrequired'] == 1) ||
! ($_CONF['commentsloginrequired'] == 1)))) {
$retval .= COM_refresh ($_CONF['site_url'] . '/index.php');
return $retval;
--- 237,244 ----
if (empty ($sid) || empty ($title) || empty ($comment) || empty ($type) ||
! ($uid < 1) || (($uid != $_USER['uid']) &&
! !empty ($_USER['username'])) || (empty ($_USER['username'])
! && (($_CONF['loginrequired'] == 1) ||
! ($_CONF['commentsloginrequired'] == 1)))) {
$retval .= COM_refresh ($_CONF['site_url'] . '/index.php');
return $retval;
More information about the geeklog-cvs
mailing list