mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +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:
@@ -39,15 +39,11 @@ if(isset($HTTP_GET_VARS[POST_POST_URL]))
|
|||||||
|
|
||||||
$start = ( isset($HTTP_GET_VARS['start']) ) ? intval($HTTP_GET_VARS['start']) : 0;
|
$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
|
// 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');
|
message_die(GENERAL_MESSAGE, 'Topic_post_not_exist');
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user