mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-30 19:49:54 +02:00
[ticket/11700] Modify all code to use the new interface names
PHPBB3-11700
This commit is contained in:
@@ -338,7 +338,7 @@ class acp_icons
|
||||
$image_display_on_posting = (isset($_POST['display_on_posting'])) ? request_var('display_on_posting', array('' => 0)) : array();
|
||||
|
||||
// Ok, add the relevant bits if we are adding new codes to existing emoticons...
|
||||
if ($request->variable('add_additional_code', false, false, phpbb_request_interface::POST))
|
||||
if ($request->variable('add_additional_code', false, false, phpbb_request_request_interface::POST))
|
||||
{
|
||||
$add_image = request_var('add_image', '');
|
||||
$add_code = utf8_normalize_nfc(request_var('add_code', '', true));
|
||||
@@ -354,7 +354,7 @@ class acp_icons
|
||||
$image_width[$add_image] = request_var('add_width', 0);
|
||||
$image_height[$add_image] = request_var('add_height', 0);
|
||||
|
||||
if ($request->variable('add_display_on_posting', false, false, phpbb_request_interface::POST))
|
||||
if ($request->variable('add_display_on_posting', false, false, phpbb_request_request_interface::POST))
|
||||
{
|
||||
$image_display_on_posting[$add_image] = 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user