This commit is contained in:
James Cole 2017-02-15 15:22:04 +01:00
parent cf2cd9680b
commit fa54763425
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -33,7 +33,7 @@ class AppServiceProvider extends ServiceProvider
// force root URL.
$forcedUrl = env('APP_FORCE_ROOT', '');
if (strlen($forcedUrl) > 0) {
if (strlen(strval($forcedUrl)) > 0) {
URL::forceRootUrl($forcedUrl);
}