mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/13617] Use request->variable instead of request_var
PHPBB3-13617
This commit is contained in:
parent
d08d988df4
commit
c5a15c0635
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ class session
|
||||||
$script_path .= (substr($script_path, -1, 1) == '/') ? '' : '/';
|
$script_path .= (substr($script_path, -1, 1) == '/') ? '' : '/';
|
||||||
$root_script_path .= (substr($root_script_path, -1, 1) == '/') ? '' : '/';
|
$root_script_path .= (substr($root_script_path, -1, 1) == '/') ? '' : '/';
|
||||||
|
|
||||||
$forum_id = request_var('f', 0);
|
$forum_id = $request->variable('f', 0);
|
||||||
$forum_id = ($forum_id > 0 && $forum_id < 16777215) ? $forum_id : 0;
|
$forum_id = ($forum_id > 0 && $forum_id < 16777215) ? $forum_id : 0;
|
||||||
|
|
||||||
$page_array += array(
|
$page_array += array(
|
||||||
|
|
Loading…
Add table
Reference in a new issue