mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
add nils' request and super globals class
rename request:: to phpbb_request:: git-svn-id: file:///svn/phpbb/trunk@9230 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -28,7 +28,7 @@ $reason_id = request_var('reason_id', 0);
|
||||
$report_text = utf8_normalize_nfc(request_var('report_text', '', true));
|
||||
$user_notify = ($user->data['is_registered']) ? request_var('notify', 0) : false;
|
||||
|
||||
$submit = request::is_set_post('submit');
|
||||
$submit = phpbb_request::is_set_post('submit');
|
||||
|
||||
if (!$post_id)
|
||||
{
|
||||
@@ -38,7 +38,7 @@ if (!$post_id)
|
||||
$redirect_url = append_sid('viewtopic', "f=$forum_id&p=$post_id") . "#p$post_id";
|
||||
|
||||
// Has the report been cancelled?
|
||||
if (request::is_set_post('cancel'))
|
||||
if (phpbb_request::is_set_post('cancel'))
|
||||
{
|
||||
redirect($redirect_url);
|
||||
}
|
||||
|
Reference in New Issue
Block a user