Update UserController.php

This commit is contained in:
Julian Prieber 2023-11-26 01:29:32 +01:00
parent 7536457e12
commit 9e980fea5b
1 changed files with 1 additions and 1 deletions

View File

@ -781,7 +781,7 @@ class UserController extends Controller
$checkmark = $request->checkmark;
$sharebtn = $request->sharebtn;
if($pageName != $littlelink_name && $littlelink_name == env('HOME_URL')){
if(env('HOME_URL') !== '' && $pageName != $littlelink_name && $littlelink_name == env('HOME_URL')){
EnvEditor::editKey('HOME_URL', $pageName);
}