Skip to content

Commit

Permalink
#38: copy arguments of the frame instead of using a reference to not …
Browse files Browse the repository at this point in the history
…overwrite its' values
  • Loading branch information
ArturMoczulski committed Dec 7, 2018
1 parent 9cfa9e0 commit 7f183c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Payload/TraceItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function __invoke($throwable)
'filename' => empty($row['file']) ? null : $row['file'],
'lineno' => empty($row['line']) ? null : $row['line'],
'class_name' => empty($row['class']) ? null : $row['class'],
'args' => empty($row['args']) ? [] : $row['args'],
'args' => empty($row['args']) ? [] : unserialize(serialize($row['args'])),
];

// convert vars to types
Expand Down

0 comments on commit 7f183c1

Please sign in to comment.