This commit is contained in:
James Brooks 2018-01-11 21:43:01 +00:00
parent d2d9b1bdae
commit 42fd84ea79

View File

@ -275,7 +275,7 @@ class SettingsController extends Controller
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);
}