Skip to content

Commit

Permalink
Fixes #2859
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrooksuk committed Jan 11, 2018
1 parent d2d9b1b commit 42fd84e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Dashboard/SettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ public function showLogView()

collect($log->getHandlers())->reject(function ($handler) {
return $handler instanceof SyslogHandler;
})->each(function ($handler) use ($logContents) {
})->each(function ($handler) use (&$logContents, $log) {
if (file_exists($path = $log->getHandlers()[0]->getUrl())) {
$logContents = file_get_contents($path);
}
Expand Down

0 comments on commit 42fd84e

Please sign in to comment.