Skip to content

Commit

Permalink
Added method callback to message
Browse files Browse the repository at this point in the history
  • Loading branch information
anteriovieira committed Oct 19, 2015
1 parent 615f023 commit f8785ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OwenIt/Auditing/Log.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public function callback($method)
public function getValueSegmented($object, $key, $default)
{
if (is_null($key) || trim($key) == '') {
return $object;
return $default;
}

foreach (explode('.', $key) as $segment)
Expand Down

0 comments on commit f8785ba

Please sign in to comment.