aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/mcp.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-06-23 14:00:57 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-06-23 14:00:57 +0000
commit7661a5d040a3827e9ab39b825b47a8f036cda21b (patch)
tree8201c04116534dea228aa05d6f8e0f6a01943ffb /phpBB/mcp.php
parent36685677dd8a7a607629394c3f6d238efe689139 (diff)
downloadforums-7661a5d040a3827e9ab39b825b47a8f036cda21b.tar
forums-7661a5d040a3827e9ab39b825b47a8f036cda21b.tar.gz
forums-7661a5d040a3827e9ab39b825b47a8f036cda21b.tar.bz2
forums-7661a5d040a3827e9ab39b825b47a8f036cda21b.tar.xz
forums-7661a5d040a3827e9ab39b825b47a8f036cda21b.zip
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
Diffstat (limited to 'phpBB/mcp.php')
-rw-r--r--phpBB/mcp.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/mcp.php b/phpBB/mcp.php
index 8915456d56..a1b77c3414 100644
--- a/phpBB/mcp.php
+++ b/phpBB/mcp.php
@@ -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')
{