Skip to content

Commit

Permalink
Merge pull request #14351 from ibennetch/14350
Browse files Browse the repository at this point in the history
Fix #14350, Uncaught TypeError with error reporting
  • Loading branch information
MauricioFauth committed Jun 6, 2018
2 parents cece77d + 8a74345 commit faff5b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/classes/ErrorReport.php
Expand Up @@ -95,7 +95,7 @@ public function getData(string $exceptionType = 'js'): array
}
$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"]);

Expand Down

0 comments on commit faff5b8

Please sign in to comment.