|
From: Paul S. O. <ps...@us...> - 2002-03-20 14:56:16
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv4587
Modified Files:
posting.php
Log Message:
Extra check for logged in user when deciding whether to determine if user should be notified on reply
Index: posting.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/posting.php,v
retrieving revision 1.151
retrieving revision 1.152
diff -C2 -r1.151 -r1.152
*** posting.php 18 Mar 2002 13:44:21 -0000 1.151
--- posting.php 20 Mar 2002 14:56:11 -0000 1.152
***************
*** 375,379 ****
else
{
! if ( $mode != 'newtopic' )
{
$sql = "SELECT topic_id
--- 375,379 ----
else
{
! if ( $mode != 'newtopic' && $userdata['session_logged_in'] )
{
$sql = "SELECT topic_id
***************
*** 390,394 ****
else
{
! $notify_user = $userdata['user_notify'];
}
}
--- 390,394 ----
else
{
! $notify_user = ( $userdata['session_logged_in'] ) ? $userdata['user_notify'] : 0;
}
}
|