Permalink
Browse files

fix errors when is empty

  • Loading branch information...
1 parent d0b35fc commit dabb6f7ce2dcf859347a073a8ca8690fe0f232a5 @freekmurze freekmurze committed Jan 2, 2017
Showing with 5 additions and 1 deletion.
  1. +4 −0 CHANGELOG.md
  2. +1 −1 src/Notifications/BaseNotification.php
View
@@ -2,6 +2,10 @@
All notable changes to `laravel-backup` will be documented in this file.
+## 4.3.2 - 2017-01-02
+
+- fix errors when `app.name` is empty
+
## 4.3.1 - 2016-12-11
- fix excluding paths of symlinked directories
@@ -21,7 +21,7 @@ public function via()
public function applicationName(): string
{
- return config('app.name');
+ return config('app.name') ?? config('app.url') ?? 'Laravel application';
}
public function diskName(): string

0 comments on commit dabb6f7

Please sign in to comment.