mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 18:54:08 +02:00
Global announcements ... sort of work ... well they seem to, need to look at possbility of splitting topics table in two
git-svn-id: file:///svn/phpbb/trunk@4167 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -812,20 +812,20 @@ switch ($mode)
|
||||
switch ($mode)
|
||||
{
|
||||
case 'make_global':
|
||||
$set_sql = 'topic_type = ' . POST_ANNOUNCE;
|
||||
break;
|
||||
$set_sql = 'topic_type = ' . POST_GLOBAL;
|
||||
break;
|
||||
|
||||
case 'make_announce':
|
||||
$set_sql = 'topic_type = ' . POST_ANNOUNCE;
|
||||
break;
|
||||
break;
|
||||
|
||||
case 'make_sticky':
|
||||
$set_sql = 'topic_type = ' . POST_STICKY;
|
||||
break;
|
||||
break;
|
||||
|
||||
case 'make_normal':
|
||||
$set_sql = 'topic_type = ' . POST_NORMAL;
|
||||
break;
|
||||
break;
|
||||
}
|
||||
if ($topic_info['forum_id'] == 0 && $mode != 'make_global')
|
||||
{
|
||||
|
Reference in New Issue
Block a user