mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-19 22:10:14 +02:00
Fix a few things left over from old global announce stuff
git-svn-id: file:///svn/phpbb/trunk@1229 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
0ce19c6f73
commit
cd37bbc657
@ -39,15 +39,11 @@ if(isset($HTTP_GET_VARS[POST_POST_URL]))
|
||||
|
||||
$start = ( isset($HTTP_GET_VARS['start']) ) ? intval($HTTP_GET_VARS['start']) : 0;
|
||||
|
||||
$mode = (isset($HTTP_GET_VARS['mode'])) ? addslashes($HTTP_GET_VARS['mode']) : "";
|
||||
|
||||
$forum_id = (isset($HTTP_GET_VARS['f'])) ? intval($HTTP_GET_VARS['f']) : "";
|
||||
|
||||
//
|
||||
// End initial var setup
|
||||
//
|
||||
|
||||
if( !isset($topic_id) && !isset($post_id) && ($mode != "viewannounce") )
|
||||
if( !isset($topic_id) && !isset($post_id) )
|
||||
{
|
||||
message_die(GENERAL_MESSAGE, 'Topic_post_not_exist');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user