|
From: Paul S. O. <ps...@us...> - 2001-10-16 17:15:28
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv10297
Modified Files:
posting.php
Log Message:
Fix a few things left over from old global announce stuff
Index: posting.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/posting.php,v
retrieving revision 1.83
retrieving revision 1.84
diff -C2 -r1.83 -r1.84
*** posting.php 2001/10/16 16:21:23 1.83
--- posting.php 2001/10/16 17:15:25 1.84
***************
*** 942,949 ****
$sql .= ", forum_topics = forum_topics + 1";
}
/* if( $topic_type != POST_GLOBAL_ANNOUNCE )
{
- $sql .= " WHERE forum_id = $forum_id";
}
*/
--- 942,950 ----
$sql .= ", forum_topics = forum_topics + 1";
}
+
+ $sql .= " WHERE forum_id = $forum_id";
/* if( $topic_type != POST_GLOBAL_ANNOUNCE )
{
}
*/
***************
*** 2256,2260 ****
if( $userdata['user_level'] == ADMIN )
{
! $global_announce_toggle = '<input type="radio" name="topictype" value="announce"';
if( $topic_type == POST_GLOBAL_ANNOUNCE )
{
--- 2257,2261 ----
if( $userdata['user_level'] == ADMIN )
{
! $global_announce_toggle = '<input type="radio" name="topictype" value="global"';
if( $topic_type == POST_GLOBAL_ANNOUNCE )
{
|