Merge pull request #14351 from ibennetch/14350
Fix #14350, Uncaught TypeError with error reporting
This commit is contained in:
commit
faff5b899d
@ -95,7 +95,7 @@ class ErrorReport
|
||||
}
|
||||
$exception = $_REQUEST['exception'];
|
||||
$exception["stack"] = $this->translateStacktrace($exception["stack"]);
|
||||
list($uri, $scriptName) = $this->sanitizeUrl($exception["url"]);
|
||||
list($uri, $scriptName) = $this->sanitizeUrl((string)$exception["url"]);
|
||||
$exception["uri"] = $uri;
|
||||
unset($exception["url"]);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user