Merge branch 'master' of github.com:akaunting/akaunting

This commit is contained in:
Cüneyt Şentürk
2021-08-11 10:10:42 +03:00
2 changed files with 3 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class App extends Provider
Paginator::useBootstrap();
Model::preventLazyLoading();
Model::preventLazyLoading(config('app.eager_load'));
Model::handleLazyLoadingViolationUsing(function ($model, $relation) {
$class = get_class($model);