Skip to content
This repository has been archived by the owner on Apr 10, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1 from github-4-work/master
Browse files Browse the repository at this point in the history
update logs collecting
  • Loading branch information
ofat committed Aug 8, 2017
2 parents f878314 + eca4709 commit 86f91e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/controllers/AdminController.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ public function logs()
->paginate();
foreach($logs as $key=>$item)
{
$logs[$key]->diff = array_values( json_decode($item->diff, true) );
$diff = json_decode($item->diff, true);
$logs[$key]->diff = is_array($diff) ? array_values($diff) : $diff;
}
return \View::make('dbConfigAdmin::logs', compact('logs'));
}
Expand Down

0 comments on commit 86f91e3

Please sign in to comment.