1
0
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:
Paul S. Owen
2003-06-23 14:00:57 +00:00
parent 36685677dd
commit 7661a5d040
10 changed files with 1135 additions and 1036 deletions

View File

@@ -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')
{