mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[feature/oauth] Fix small issues on ucp pages
PHPBB3-11673
This commit is contained in:
parent
6420fdcc05
commit
51f06f36f1
2 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
*
|
||||
* @package notifications
|
||||
* @package ucp
|
||||
* @copyright (c) 2013 phpBB Group
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
|
|
|
@ -155,12 +155,13 @@ class ucp_login_link
|
|||
|
||||
$var_names = $request->variable_names(phpbb_request_interface::GET);
|
||||
$login_link_data = array();
|
||||
$string_start_length = strlen('login_link_');
|
||||
|
||||
foreach ($var_names as $var_name)
|
||||
{
|
||||
if (strpos($var_name, 'login_link_') === 0)
|
||||
{
|
||||
$key_name = str_replace('login_link_', '', $var_name);
|
||||
$key_name = substr($var_name, $string_start_length);
|
||||
$login_link_data[$key_name] = $request->variable($var_name, '', false, phpbb_request_interface::GET);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue