Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request fix #16

Merged
merged 2 commits into from
Oct 17, 2013
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Silence error if no user id available from session
  • Loading branch information
fundead committed Oct 16, 2013
commit fabb9a5f80e2074fc6e9dd6cb8fe640e29b37d07
2 changes: 1 addition & 1 deletion src/Raygun4php/RaygunClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public function SetUser($user = null)
}
else
{
if (!$_SESSION['rguuid'])
if (!array_key_exists('rguuid', $_SESSION))
{
$_SESSION['rguserid'] = (string) Uuid::uuid4();
$_SESSION['rguuid'] = true;
Expand Down