Skip to content

Commit

Permalink
Merge pull request #91 from MindscapeHQ/fix-string-offset
Browse files Browse the repository at this point in the history
Fix string offset
  • Loading branch information
BenjaminHarding authored Dec 5, 2016
2 parents 22f27fd + 95a165a commit 4cce3e7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ ClientBin
stylecop.*
~$*
*.dbmdl
Generated_Code #added for RIA/Silverlight projects
# RIA/Silverlight projects
Generated_Code

# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
Expand Down Expand Up @@ -164,4 +165,4 @@ pip-log.txt

.idea
vendor/
composer.lock
composer.lock
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ If, when running a PHP script from the command line on *nix operating systems, y

## Changelog

- 1.7.1: Fixed illegal string offset
- 1.7.0: Added custom error grouping
- 1.6.1: Assign ClassName as exceptionClass
- 1.6.0: Added HTTP proxy support, support X-Forwarded-For, null server var guards
Expand Down
2 changes: 1 addition & 1 deletion src/Raygun4php/RaygunClientMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class RaygunClientMessage
public function __construct()
{
$this->Name = "Raygun4php";
$this->Version = "1.7.0";
$this->Version = "1.7.1";
$this->ClientUrl = "https://github.com/MindscapeHQ/raygun4php";
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/Raygun4php/RaygunRequestMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ private function emu_getAllHeaders()
{
if (!function_exists('getallheaders'))
{
$headers = '';
$headers = array();
foreach ($_SERVER as $name => $value)
{
if (substr($name, 0, 5) == 'HTTP_')
Expand Down Expand Up @@ -116,4 +116,4 @@ private function getRemoteAddr()
return $ip;
}
}
}
}

0 comments on commit 4cce3e7

Please sign in to comment.