mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[feature/request-class] Fix the error message when accessing superglobal
Adjust the misleading "This error message was generated" text. PHPBB3-9716
This commit is contained in:
parent
80a063ac34
commit
597311ba6b
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class phpbb_request_deactivated_super_global implements ArrayAccess, Countable,
|
||||||
$file = '';
|
$file = '';
|
||||||
$line = 0;
|
$line = 0;
|
||||||
|
|
||||||
$message = 'Illegal use of $' . $this->name . '. You must use the request class or request_var() to access input data. Found in %s on line %d. This error message was generated';
|
$message = 'Illegal use of $' . $this->name . '. You must use the request class or request_var() to access input data. Found in %s on line %d. This error message was generated by deactivated_super_global.';
|
||||||
|
|
||||||
$backtrace = debug_backtrace();
|
$backtrace = debug_backtrace();
|
||||||
if (isset($backtrace[1]))
|
if (isset($backtrace[1]))
|
||||||
|
|
Loading…
Add table
Reference in a new issue